PHPackages                             kdbz/kenya-county - 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. [Database &amp; ORM](/categories/database)
4. /
5. kdbz/kenya-county

ActiveLibrary[Database &amp; ORM](/categories/database)

kdbz/kenya-county
=================

A laravel package that creates and seeds Kenya's county,subcounty and wards lookup tables to a MySQL database

v1.0.5(3y ago)1794↓33.3%1MITPHPPHP &gt;=8.0.0

Since Oct 26Pushed 2y ago1 watchersCompare

[ Source](https://github.com/kdbz/kenya-county)[ Packagist](https://packagist.org/packages/kdbz/kenya-county)[ RSS](/packages/kdbz-kenya-county/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (7)Used By (0)

KenyaCounty
===========

[](#kenyacounty)

A laravel package that creates and seeds Kenya's 🇰🇪 county,subcounty and wards lookup tables to a MySQL database.

DB Structure
------------

[](#db-structure)

 [![DB Schema](https://github.com/kdbz/kenya-county/raw/main/schema.png)](https://github.com/kdbz/kenya-county/blob/main/schema.png)

Installation
------------

[](#installation)

Use the package manager [composer](https://getcomposer.org/) to install KenyaCounty within your laravel project.

```
$ cd YOUR_LARAVEL_PROJECT_PATH

$ composer require kdbz/kenya-county
```

Configuration
-------------

[](#configuration)

Publish the package configuration

```
$ php artisan vendor:publish --tag=kenyacounty-config
```

Publish the database migration files

```
$ php artisan vendor:publish --tag=kenyacounty-migrations
```

Publish the database seeder file

```
$ php artisan vendor:publish --tag=kenyacounty-seeders
```

Usage
-----

[](#usage)

Migrate the database

```
$ php artisan migrate
```

Seed the database

```
$ php artisan db:seed --class=KenyaCountySeeder
```

Acknowledgements
----------------

[](#acknowledgements)

- [Laravel Excel](https://github.com/SpartnerNL/Laravel-Excel)

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~0 days

Total

6

Last Release

1290d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6ec1bdf397ce390945bee0ce11deeb9e8cd5e7064aae3f44d480e25b888d1394?d=identicon)[kdbz](/maintainers/kdbz)

---

Top Contributors

[![kdbz](https://avatars.githubusercontent.com/u/450845?v=4)](https://github.com/kdbz "kdbz (15 commits)")

---

Tags

laravel-migrationlaravel-packagelaravel-seedermigrationsseeder

### Embed Badge

![Health badge](/badges/kdbz-kenya-county/health.svg)

```
[![Health](https://phpackages.com/badges/kdbz-kenya-county/health.svg)](https://phpackages.com/packages/kdbz-kenya-county)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[mongodb/mongodb

MongoDB driver library

1.6k64.0M542](/packages/mongodb-mongodb)[tomatophp/filament-translations

Manage your translation with DB and cache, you can scan your languages tags like trans(), \_\_(), and get the string inside and translate them use UI.

6230.1k3](/packages/tomatophp-filament-translations)[orchestra/database

Database Component for Orchestra Platform

201.4M575](/packages/orchestra-database)[shibuyakosuke/laravel-ddl-export

Export Table definition to spreadsheet by artisan command.

129.3k](/packages/shibuyakosuke-laravel-ddl-export)[yemenopensource/filament-excel

This package useful for importing excel files into models.

193.8k](/packages/yemenopensource-filament-excel)

PHPackages © 2026

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