Skip to content

0xmanhnv/laravel-vietnam-database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

Via Composer

$ composer require nguyenmanh1997/laravel-vietnam-database

Usage

Method 1: Run

$ php artisan vietnam:install

Method 2:

  1. In configs/app.php file, add the following to the providers array (optional in version >= 5.5)
NguyenManh1997\VietNam\VietNamServiceProvider::class,
  1. 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
  1. Go to database and check it.

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages