PHPackages                             mercyware/nigerianstates - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. mercyware/nigerianstates

ActiveLibrary

mercyware/nigerianstates
========================

Nigerian States is a package that helps retrieve details about states in the Federal Republic of Nigeria icnluding Local Governement, Languages, Date Created, Capital and more. Credit: Rinvex LLC from the Rinvex Country Package. https://github.com/rinvex/countries

7261↓100%3PHP

Since Apr 13Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Mercyware/Nigerian-States)[ Packagist](https://packagist.org/packages/mercyware/nigerianstates)[ RSS](/packages/mercyware-nigerianstates/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Nigerian States
===============

[](#nigerian-states)

**Nigerian States** is inspired by **Rinvex Country Package** . The Nigerian states laravel package helps to easily retrive information about the 36 states in the Federal Republic of Nigeria.

**Available information includes**

- State Name
- Local Governments within the States
- Languages
- Date Created
- Population
- Capital
- Political Zone
- Nick Name
- and more.

Usage
=====

[](#usage)

install via `composer require mercyware/nigerianstates`

```
//Get the list of States
$states = StatesLoader::states();

//Get a State Details
$state = StatesLoader::state('abia');

//Get name of a state
$state->getName();

//Get The Officail Name of a state
$state->getOfficialName();

//Get The short code of a state
$state->getShortCode();

//Get the state capital name
$state->getStateCapital();

//Get the state geo political zone
$state->getGeoPoliticalZone();

//Get the date state was created
$state->getDateCreated();

//Get the state population according to 2016 Census
$state->getPopulation();

//Get the official website of state
$state->getStateWebsite();

//Get thestate Demonym
$state->getDemonym();

//Get the state nick name
$state->getStateNickName();

//Get the list of local government in the state
$state->getLocalGovernmentAreas();

//Get the languages spoken in the state
$state->getLanguages();

//Get the official website of state
$state->getStateWebsite();

//Get the official website of state
$state->getStateWebsite();

```

Source of Information
=====================

[](#source-of-information)

- Wikipedia \[[https://en.wikipedia.org/wiki/States\_of\_Nigeria](https://en.wikipedia.org/wiki/States_of_Nigeria)\].

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity18

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e7d64bccde56f813ca1e08b62bd5cab5938570aa1a74cb5b764a60565a253aca?d=identicon)[Mercyware](/maintainers/Mercyware)

---

Top Contributors

[![Mercyware](https://avatars.githubusercontent.com/u/21191745?v=4)](https://github.com/Mercyware "Mercyware (6 commits)")[![emmadonjo](https://avatars.githubusercontent.com/u/22492808?v=4)](https://github.com/emmadonjo "emmadonjo (2 commits)")

---

Tags

laravelnigerianigeria-states-lganigeriannigerianstatesphpstatesstates-in-nigeria

### Embed Badge

![Health badge](/badges/mercyware-nigerianstates/health.svg)

```
[![Health](https://phpackages.com/badges/mercyware-nigerianstates/health.svg)](https://phpackages.com/packages/mercyware-nigerianstates)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
