A laravel package that creates and seeds Kenya's 🇰🇪 county,subcounty and wards lookup tables to a MySQL database.
Use the package manager composer to install KenyaCounty within your laravel project.
$ cd YOUR_LARAVEL_PROJECT_PATH
$ composer require kdbz/kenya-countyPublish the package configuration
$ php artisan vendor:publish --tag=kenyacounty-configPublish the database migration files
$ php artisan vendor:publish --tag=kenyacounty-migrationsPublish the database seeder file
$ php artisan vendor:publish --tag=kenyacounty-seedersMigrate the database
$ php artisan migrateSeed the database
$ php artisan db:seed --class=KenyaCountySeederPull 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.
