kdbz/kenya-county
最新稳定版本:v1.0.5
Composer 安装命令:
composer require kdbz/kenya-county
包简介
A laravel package that creates and seeds Kenya's county,subcounty and wards lookup tables to a MySQL database
README 文档
README
A laravel package that creates and seeds Kenya's 🇰🇪 county,subcounty and wards lookup tables to a MySQL database.
DB Structure
Installation
Use the package manager composer to install KenyaCounty within your laravel project.
$ cd YOUR_LARAVEL_PROJECT_PATH
$ composer require kdbz/kenya-county
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
Migrate the database
$ php artisan migrate
Seed the database
$ php artisan db:seed --class=KenyaCountySeeder
Acknowledgements
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
统计信息
- 总下载量: 440
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-10-26
