Laravel package providing the full list of Shopify supported currencies (hardcoded from CurrencyCode enum)
merrick/laravel-shopify-currencies is a Laravel package for laravel package providing the full list of shopify supported currencies (hardcoded from currencycode enum).
It currently has 0 GitHub stars and 2 downloads on Packagist (latest version 1.1.0).
Install it with composer require merrick/laravel-shopify-currencies.
Discover more Laravel packages by merrick
or browse all Laravel packages to compare alternatives.
Last updated
A lightweight Laravel package that provides the full list of currencies supported by Shopify, hardcoded from the official CurrencyCode enum (Shopify GraphQL Admin/Storefront APIs, latest 2026-01).
This package includes:
Perfect for:
Install via Composer (live on Packagist):
composer require merrick/laravel-shopify-currencies
For local development or testing:
Add to your project's composer.json:
"repositories": [ { "type": "vcs", "url": "https://github.com/merrick67/laravel-shopify-currencies" } ], "require": { "merrick/laravel-shopify-currencies": "dev-main" }
Then run:
composer update merrick/laravel-shopify-currencies
No additional setup needed – auto-registered.
use Merrick\ShopifyCurrencies\Facades\ShopifyCurrencies;
// All codes as array $codes = ShopifyCurrencies::codes();
// Full collection (code, name, symbol, display – sorted like Shopify Admin) $currencies = ShopifyCurrencies::all(); // Example items: // ['code' => 'USD', 'name' => 'US Dollar', 'symbol' => '$', 'display' => 'US Dollar (USD $)'] // ['code' => 'EUR', 'name' => 'Euro', 'symbol' => '€', 'display' => 'Euro (EUR €)'] // ['code' => 'VND', 'name' => 'Vietnamese Dong', 'symbol' => '₫', 'display' => 'Vietnamese Dong (VND ₫)']
// Validate code $isValid = ShopifyCurrencies::isValid('VND'); // true
$codes = shopify_currency_codes(); $currencies = shopify_currencies(); // with display format $isValid = is_shopify_currency('EUR');
use Merrick\ShopifyCurrencies\Services\ShopifyCurrencyService;
$service = app(ShopifyCurrencyService::class); $currencies = $service->all();
Output preview:
Method | Return Type | Description
-------------------------------|-------------------|-----------------------------------------------------------------------------
codes() | array | All currency codes
all() | Collection | Full list: code, name, symbol, display (Most used first)
isValid(string $code) | bool | Check if code is supported by Shopify
Shopify's CurrencyCode enum is stable and rarely changes. Hardcoding ensures:
Report issues, suggest symbols/names, or open PRs on GitHub: https://github.com/merrick67/laravel-shopify-currencies
MIT License
See LICENSE for details.