Download the PHP package emmadonjo/naija without Composer
On this page you can find all versions of the php package emmadonjo/naija. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download emmadonjo/naija
More information about emmadonjo/naija
Files in emmadonjo/naija
Package naija
Short Description Naija is a PHP package that provides data about States, Local Government Areas, cities, and towns in Nigeria.
License MIT
Informations about the package naija
Naija is a PHP package that provides data about States, Local Government Areas, cities, and towns in Nigeria.
This package is inspired by https://github.com/Mercyware/Nigerian-States.
With this package you can retrieve the following state-related information:
- Name
- Capital
- Political Zone
- Creation Date
- Polution - Male and female
- Website
- Logo
- Flag
- Nick Name
- Languages
- Local Governments Areas
- Areas - villages, towns, and cities
Usage
Install via:
Display assets - logos and flags
To display logos and flags of states, you can copy the assets to the images
folder in the accessible location of your application.
For example, if you are developing with laravel, copy:
resources/logos
topublic/images/logos
, andresources/flags
topublic/images/flags
Then you can access the assets as follows:
/images/logos/abia.png
/images/flags/abia.png
To Do
- Populate areas (villages, cities, and towns) for most of the remaining states
Sources
- https://currentaffairs.ng/state/
- https://en.wikipedia.org/wiki/States_of_Nigeria
- https://www.nipc.gov.ng/nigeria-states/abia-state/
- https://en.wikipedia.org/wiki/List_of_nicknames_of_Nigerian_states
- https://www.mindat.org/feature-8636368.html
- https://en.wikipedia.org/wiki/List_of_villages_in_Osun_State