hracik / currency-list
To get array of currently used list of currencies.
1.0.1
2024-12-23 11:25 UTC
Requires
- php: >=7.4
- symfony/intl: ^6.4
This package is auto-updated.
Last update: 2025-04-23 12:14:57 UTC
README
List of currencies provided by Symfony (the Intl component) contains ~300 currencies, from which ~150 is not used anymore.
Building new project where you need to use currencies? Why bother your users with list twice as long as it needs to be?
This code filters out currencies which are not used anymore.
Installing
Install with Composer
composer require hracik/currency-list
Usage
use Hracik\CurrencyList\CurrencyList; $currencies = CurrencyList::get();
Built With
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
License
This project is licensed under the MIT License - see the LICENSE.md file for details.