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.