Download the PHP package domprojects/codeigniter4-country without Composer
On this page you can find all versions of the php package domprojects/codeigniter4-country. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download domprojects/codeigniter4-country
More information about domprojects/codeigniter4-country
Files in domprojects/codeigniter4-country
Download domprojects/codeigniter4-country
More information about domprojects/codeigniter4-country
Files in domprojects/codeigniter4-country
Vendor domprojects
Package codeigniter4-country
Short Description Translated country helper for CodeIgniter 4 projects.
License MIT
Homepage https://github.com/domProjects/codeigniter4-country
Package codeigniter4-country
Short Description Translated country helper for CodeIgniter 4 projects.
License MIT
Homepage https://github.com/domProjects/codeigniter4-country
Please rate this library. Is it a good library?
Informations about the package codeigniter4-country
Country for CodeIgniter 4
Translated country helper for CodeIgniter 4.
This package provides:
- a translated country list
- country name lookup from ISO code
- a ready-to-use country dropdown helper
- list of all countries with names and ISO 3166-1 codes
Installation
Usage
Load the helper:
Get the translated country list:
Translate an ISO code:
Render a dropdown:
Available Functions
countryList(): arraycountryIsoToName(string $iso): stringcountryDropdown(string $name, array|string $extra = '', array|string $selected = ''): string
Locales
The package currently includes translated country files for:
- English
- French
- German
The helper uses the current CodeIgniter locale automatically through lang().
Additional locales can be added over time.
Package Structure
Language Source
The language files are based on data from:
License
MIT
All versions of codeigniter4-country with dependencies
PHP Build Version
Package Version
The package domprojects/codeigniter4-country contains the following files
Loading the files please wait ...