Package Data | |
---|---|
Maintainer Username: | malebolgia |
Maintainer Contact: | info@lavalite.org (Lavalite) |
Package Create Date: | 2015-12-31 |
Package Last Update: | 2015-12-31 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-11 15:08:47 |
Package Statistics | |
---|---|
Total Downloads: | 11 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
This is a Laravel 5 package that provides reward management facility for lavalite framework.
Begin by installing this package through Composer. Edit your project's composer.json
file to require petfinder/reward
.
"petfinder/reward": "dev-master"
Next, update Composer from the Terminal:
composer update
Once this operation completes execute below cammnds in command line to finalize installation.
Petfinder\Reward\Providers\RewardServiceProvider::class,
And also add it to alias
'Reward' => Petfinder\Reward\Facades\Reward::class,
Use the below commands for publishing
Migration and seeds
php artisan vendor:publish --provider="Petfinder\Reward\Providers\RewardServiceProvider" --tag="migrations"
php artisan vendor:publish --provider="Petfinder\Reward\Providers\RewardServiceProvider" --tag="seeds"
Configuration
php artisan vendor:publish --provider="Petfinder\Reward\Providers\RewardServiceProvider" --tag="config"
Language
php artisan vendor:publish --provider="Petfinder\Reward\Providers\RewardServiceProvider" --tag="lang"
Views public and admin
php artisan vendor:publish --provider="Petfinder\Reward\Providers\RewardServiceProvider" --tag="view-public"
php artisan vendor:publish --provider="Petfinder\Reward\Providers\RewardServiceProvider" --tag="view-admin"
Publish admin views only if it is necessary.