Via Composer
$ composer require nguyenmanh1997/laravel-vietnam-database
Method 1: Run
$ php artisan vietnam:install
Method 2:
- In configs/app.php file, add the following to the providers array (optional in version >= 5.5)
NguyenManh1997\VietNam\VietNamServiceProvider::class,
- Run commands to publish the package’s config and assets and database
$ php artisan vendor:publish
$ php artisan migrate
$ composer dump-autoload
$ php artisan db:seed --class=DistrictsTable
$ php artisan db:seed --class=ProvincesTable
$ php artisan db:seed --class=WardsTable
- Go to database and check it.
Please see CHANGELOG for more information on what has changed recently.
$ composer test
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
- [Nguyễn Mạnh][https://manhnv.com]
The MIT License (MIT). Please see License File for more information.