malebolgia / PrefecturesJP by malebolgia

8
0
2
Package Data
Maintainer Username: malebolgia
Maintainer Contact: info@lavalite.org (Lavalite)
Package Create Date: 2015-12-30
Package Last Update: 2015-12-30
Language: PHP
License: MIT
Last Refreshed: 2024-11-11 15:15:36
Package Statistics
Total Downloads: 8
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

This is a Laravel 5 package that provides prefectures management facility for lavalite framework.

Installation

Begin by installing this package through Composer. Edit your project's composer.json file to require petfinder/prefectures.

"petfinder/prefectures": "dev-master"

Next, update Composer from the Terminal:

composer update

Once this operation completes execute below cammnds in command line to finalize installation.

Petfinder\Prefectures\Providers\PrefecturesServiceProvider::class,

And also add it to alias

'Prefectures'  => Petfinder\Prefectures\Facades\Prefectures::class,

Use the below commands for publishing

Migration and seeds

php artisan vendor:publish --provider="Petfinder\Prefectures\Providers\PrefecturesServiceProvider" --tag="migrations"
php artisan vendor:publish --provider="Petfinder\Prefectures\Providers\PrefecturesServiceProvider" --tag="seeds"

Configuration

php artisan vendor:publish --provider="Petfinder\Prefectures\Providers\PrefecturesServiceProvider" --tag="config"

Language

php artisan vendor:publish --provider="Petfinder\Prefectures\Providers\PrefecturesServiceProvider" --tag="lang"

Views public and admin

php artisan vendor:publish --provider="Petfinder\Prefectures\Providers\PrefecturesServiceProvider" --tag="view-public"
php artisan vendor:publish --provider="Petfinder\Prefectures\Providers\PrefecturesServiceProvider" --tag="view-admin"

Publish admin views only if it is necessary.

Usage