This is a Laravel 5 package that provides pet management facility for lavalite framework., (*1)
Begin by installing this package through Composer. Edit your project's composer.json
file to require petfinder/pet
., (*2)
"petfinder/pet": "dev-master"
Next, update Composer from the Terminal:, (*3)
composer update
Once this operation completes execute below cammnds in command line to finalize installation., (*4)
Petfinder\Pet\Providers\PetServiceProvider::class,
And also add it to alias, (*5)
'Pet' => Petfinder\Pet\Facades\Pet::class,
Use the below commands for publishing, (*6)
Migration and seeds, (*7)
php artisan vendor:publish --provider="Petfinder\Pet\Providers\PetServiceProvider" --tag="migrations" php artisan vendor:publish --provider="Petfinder\Pet\Providers\PetServiceProvider" --tag="seeds"
Configuration, (*8)
php artisan vendor:publish --provider="Petfinder\Pet\Providers\PetServiceProvider" --tag="config"
Language, (*9)
php artisan vendor:publish --provider="Petfinder\Pet\Providers\PetServiceProvider" --tag="lang"
Views public and admin, (*10)
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., (*11)