Ahantu - Rwanda Locations Laravel Package

A Laravel package that helps developers seed Rwanda's geographical location data (province, district, sector, cell, village) into their applications. Published on Packagist with 8+ stars.

Laravel PHP Composer MySQL Eloquent ORM

Project Details

  • Date

    June 2023

  • Technologies

    Laravel, PHP, Composer, MySQL

  • Status

    Published

No Image

Overview

Ahantu is an open-source Laravel package designed to streamline the process of integrating Rwanda's administrative location data into Laravel applications. It generates Eloquent models, migrations, and seeders for five hierarchical administrative levels.

Key Features

  • Auto-generates 5 Eloquent models for Province, District, Sector, Cell, and Village
  • Database migrations and seeders with authentic Rwanda location data
  • Simple artisan install command: php artisan ahantu:install
  • Published on Packagist for easy Composer installation

Technical Details

Built with PHP 8.1+, the package follows Laravel's service provider pattern and uses Composer for distribution. It creates properly related database tables with foreign key constraints maintaining the hierarchical relationship between administrative divisions.

Related Projects