empari/geo
Composer 安装命令:
composer require empari/geo
包简介
Countries, States and Cities helper for Laravel.
README 文档
README
Countries, States and Cities helper for Laravel (only Brazil)
Installation
Composer
Execute the following command to get the latest version of the package:
composer require empari/geo
Laravel
In your config/app.php add Empari\Geo\GeoServiceProvider::class to the end of the providers array:
'providers' => [ ... Empari\Geo\GeoServiceProvider::class, ],
Publish Configuration
php artisan vendor:publish --provider "Empari/Geo/GeoServiceProvider"
Migrate the new tables
php artisan migrate
Seeder Tables
php artisan db:seed --class="Empari\Geo\Database\Seeds\CountryTableSeeder" php artisan db:seed --class="Empari\Geo\Database\Seeds\StateTableSeeder" php artisan db:seed --class="Empari\Geo\Database\Seeds\CityTableSeeder"
统计信息
- 总下载量: 17
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-07-24