定制 lfbellante/package-laravel-italy 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

MIT

统计信息

  • 总下载量: 78
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-01-11