PHPackages                             aimedidierm/ahantu - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. aimedidierm/ahantu

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

aimedidierm/ahantu
==================

A Laravel package to help developers to seed Rwanda locations data (province, district, sector, cell, village) in Laravel application.

v1.0.0(1y ago)91713MITPHP

Since Jul 2Pushed 1y ago2 watchersCompare

[ Source](https://github.com/aimedidierm/ahantu)[ Packagist](https://packagist.org/packages/aimedidierm/ahantu)[ RSS](/packages/aimedidierm-ahantu/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

aimedidierm/ahantu
==================

[](#aimedidiermahantu)

A Laravel package to help developers seed Rwanda locations data (province, district, sector, cell, village) in Laravel applications.

🚀 Installation
--------------

[](#-installation)

Install this package as a dependency using [Composer](https://getcomposer.org).

```
composer require --dev aimedidierm/ahantu
```

🛠️ Usage
--------

[](#️-usage)

### Step 1: Publish the Configuration

[](#step-1-publish-the-configuration)

After installing the package, you can publish the configuration file to customize it according to your needs.

```
php artisan vendor:publish --provider="Ahantu\Locations\LocationsServiceProvider"
```

### Step 2: Run the Artisan Command

[](#step-2-run-the-artisan-command)

To create models, migrations, and seeders for the locations, run the following Artisan command:

```
php artisan ahantu:install
```

This command will generate the necessary files and directories:

- Models: `Province`, `District`, `Sector`, `Cell`, `Village`
- Migrations: for creating the corresponding tables
- Seeders: for populating the tables with Rwanda location data

### Step 3: Run the Migrations and Seeders

[](#step-3-run-the-migrations-and-seeders)

After generating the files, run the migrations and seeders to create and populate the tables in your database.

```
php artisan migrate
php artisan db:seed --class=LocationsSeeder
```

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

[](#contributing)

Contributions are welcome!

📜 License
---------

[](#-license)

The aimedidierm/ahantu package is free and unencumbered software released into the public domain. Please see the [MIT LICENSE](MITLICENSE) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity40

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

Unknown

Total

1

Last Release

680d ago

### Community

Maintainers

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

---

Top Contributors

[![aimedidierm](https://avatars.githubusercontent.com/u/73910734?v=4)](https://github.com/aimedidierm "aimedidierm (11 commits)")

---

Tags

laravelrwanda

### Embed Badge

![Health badge](/badges/aimedidierm-ahantu/health.svg)

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

###  Alternatives

[amin3520/anar

:description

272.3k](/packages/amin3520-anar)

PHPackages © 2026

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