php-common-enums / country
Provides a backed enum for countries
Installs: 4 241
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 0
Forks: 1
Open Issues: 0
Requires
- php: ^8.1
Requires (Dev)
- phpunit/phpunit: ^8.5 | ^9.5
README
Provides a backed enum for countries.
Prerequisites
Since backed enumerations were introduced in PHP 8.1, you will need at least that version of PHP.
Installing
$ composer require php-common-enums/country
Contributing
Please read CODE_OF_CONDUCT.md for details on our code of conduct.
Please read CONTRIBUTING.md for details on the process for submitting pull requests and/or new backed enums 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 file for details