hracik/currency-list

To get array of currently used list of currencies.

0.1.1 2020-11-11 15:24 UTC

This package is auto-updated.

Last update: 2024-05-11 23:36:15 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.