konnco/laravel-inadiv
最新稳定版本:0.0.2
Composer 安装命令:
composer require konnco/laravel-inadiv
包简介
Indonesian Administrative Division ( Pembagian Administratif Indonesia, Provinsi, Kota, Kelurahan ) For Laravel
README 文档
README
This is package helper for Indonesian Administrative Division Area.
Installation
You can install the package via composer:
composer require konnco/laravel-inadiv
You need to migrate the files via:
php artisan migrate
Usage
the usage is same as common Laravel Model, in this package there's 4 Models that you can use.
Konnco\Inadiv\Models\ProvinceKonnco\Inadiv\Models\CityKonnco\Inadiv\Models\DistrictKonnco\Inadiv\Models\Subdisctict
So if you have another function that need to included in this model, just Extend into another class.
use Konnco\Inadiv\Models\Province as BaseProvinceModel; class Province extends BaseProvinceModel { public function yourCustomFunctionHere() { } }
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 3.82k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-06-26