lfbellante/package-laravel-italy
最新稳定版本:v0.1.0
Composer 安装命令:
composer require lfbellante/package-laravel-italy
包简介
This is a package for the laravel framework witch contains all italy cities, provinces and regions.
README 文档
README
This is a package for the laravel framework witch contains all italy cities, provinces and regions.
Installation
composer require lfbellante/package-laravel-italy
Usage
Next, you should publish the Italy configuration, migration and seeder files using the vendor:publish Artisan command.
The italy configuration file will be placed in your application's config directory The italy migrations, factories and seeders files will be placed in your application's database directory. The italy json source file will be placed in your storage/app directory.
# Publish config file php artisan vendor:publish --tag=italy-config # Load migration & run php artisan vendor:publish --tag=italy-migrations php artisan migrate # Load seeder php artisan vendor:publish --tag=italy-seeders # Seeding Regions php artisan db:seed --class=RegionSeeder # Seeding Province php artisan db:seed --class=ProvinceSeeder # Seeding City php artisan db:seed --class=CitySeeder
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
统计信息
- 总下载量: 78
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-01-11