2017 © Pedro Peláez
 

laravel-package administrative

Administrative provides an easy way to scaffold political administrative division (like, region, provinces, communes) to your app.

image

lcjury/administrative

Administrative provides an easy way to scaffold political administrative division (like, region, provinces, communes) to your app.

  • Wednesday, April 27, 2016
  • by lcjury
  • Repository
  • 1 Watchers
  • 0 Stars
  • 27 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 4 % Grown

The README.md

Administrative: Political Administrative Division

This package provide a command to create the neccesary to work with political administrative division on your database., (*1)

The make:administrative command will provide you with Region, Province and Commune models, the migrations for those models and seeders for some countries, (*2)

Installation

To get the last version of Administrative use, (*3)

composer require lcjury/administrative

or add to your composer.json file, (*4)

"require": {
  "lcjury/administrative": "^0.0.0"                                                                      
},

once installed you should add the AdministrativeServiceProvider to your config/app.php file, (*5)

'providers' => [
  Lcjury\Administrative\AdministrativeServiceProvider::class
];

Usage

Just run artisan make:administrative and then add $this->call(PoliticalTablesSeeder::class); to the DatabaseSeeder file and run artisan db:seed, (*6)

Supported Countries

  • Chile (Regions, Provinces and Communes using the data from subdere.gov with the update from 13/09/2011)

The Versions

27/04 2016

dev-master

9999999-dev

Administrative provides an easy way to scaffold political administrative division (like, region, provinces, communes) to your app.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by luis jury

23/04 2016

0.0.0

0.0.0.0

Administrative provides an easy way to scaffold political administrative division (like, region, provinces, communes) to your app.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by luis jury