Download the PHP package omisai/php-countries without Composer
On this page you can find all versions of the php package omisai/php-countries. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download omisai/php-countries
More information about omisai/php-countries
Files in omisai/php-countries
Package php-countries
Short Description PHP package to provide countries data
License MIT
Homepage https://github.com/omisai-tech/php-countries
Informations about the package php-countries
PHP Countries Package
The PHP Countries Package provides a convenient and object-oriented approach to working with country data. Designed to integrate country information into any PHP applications with ease. This package offers easy access to country names, ISO 3166-1 alpha-2 code, ISO 3166-1 alpha-3 code, ISO 3166-1 numeric code, FIPS code, phone dial,total area in square kilometers, country's capital city, continent code.
Features
- Easy retrieval of country names and codes, total area in square kilometers, capital city and/or continent.
- Object-Oriented Programming (OOP) approach for better data management and integration.
- Lightweight and simple to integrate into any PHP project. (8.1+)
- Currently supporting English, Hungarian, German, Spanish, Italian, French, Portuguese, Dutch, Danish, Swedish, Norwegian, Polish, Czech, Slovak, Slovenian and Croatian languages.
- Future support for multiple locales, making it versatile for international applications.
Installation
The PHP Countries Package can be easily installed via Composer.
Usage
After installing the package, you can begin to work with any country data. You can work with country model directly or access all of them through a Collection class.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Testing
Contributing
Please see CONTRIBUTING.md for details on how to contribute to this project.
Security
Please see SECURITY.md for details on reporting security vulnerabilities.
License
This package is open-sourced software licensed under the MIT license.
Sponsoring
If you find this package useful, please consider sponsoring the development: Sponsoring on GitHub
Your support helps us maintain and improve this open-source project!