Download the PHP package bodunde/states-and-local-govt without Composer
On this page you can find all versions of the php package bodunde/states-and-local-govt. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download bodunde/states-and-local-govt
More information about bodunde/states-and-local-govt
Files in bodunde/states-and-local-govt
Download bodunde/states-and-local-govt
More information about bodunde/states-and-local-govt
Files in bodunde/states-and-local-govt
Vendor bodunde
Package states-and-local-govt
Short Description Populates your DB with all the states in Nigeria and their local governments. It also creates the models for you
License MIT
Package states-and-local-govt
Short Description Populates your DB with all the states in Nigeria and their local governments. It also creates the models for you
License MIT
Please rate this library. Is it a good library?
Informations about the package states-and-local-govt
Laravel-Nig-States-LocalGovt
A Laravel Package that populates your database with all the states in the Nigeria and their corresponding local governments.
Setup
- Include package in your project by running
composer require bodunde/states-and-local-govt
- Add
Bodunde\SLG\SLGServiceProvider::class
to provider inapp.php
underconfig
directory - Publish package resources by running
php artisan vendor:publish
. Running this command would publish models, migrations and seeders. - Run published migrations
php artisan migrate
- Regenerate your autoload files
composer dump-autoload
- Run published database seeders
php artisan db:seed --class=SlgTableSeeder
Usage
- Import models into your controllers
Note: If your root namespace in your application isn't app
make sure you go to the models and modify the namespace
All versions of states-and-local-govt with dependencies
PHP Build Version
Package Version
Requires
illuminate/support Version
~5
The package bodunde/states-and-local-govt contains the following files
Loading the files please wait ....