malebolgia / PetsInfo by malebolgia

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

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

Installation

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

"petfinder/pet": "dev-master"

Next, update Composer from the Terminal:

composer update

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

Petfinder\Pet\Providers\PetServiceProvider::class,

And also add it to alias

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

Use the below commands for publishing

Migration and seeds

php artisan vendor:publish --provider="Petfinder\Pet\Providers\PetServiceProvider" --tag="migrations"
php artisan vendor:publish --provider="Petfinder\Pet\Providers\PetServiceProvider" --tag="seeds"

Configuration

php artisan vendor:publish --provider="Petfinder\Pet\Providers\PetServiceProvider" --tag="config"

Language

php artisan vendor:publish --provider="Petfinder\Pet\Providers\PetServiceProvider" --tag="lang"

Views public and admin

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

Publish admin views only if it is necessary.

Usage