pukudada/loyalty
Composer 安装命令:
composer create-project pukudada/loyalty
包简介
loyalty program for restaurant order
README 文档
README
- Loyalty for every expenses the client made.
- redeem on meeting the loyalty threshold.
Installation
To install the package you can run following in your terminal.
composer require pukudada/loyalty
or add following to your composer.json file and run composer update.
"require": {
...
"pukudada/loyalty": "1.4.5",
...
}
This will install loyalty package in your project. Once completed, we need to add this code in 'config/app.php'.
'aliases' => [
...
'Loyalty' => Pukudada\Loyalty\Facades\LoyaltyFacades::class,
...
];
After success installation of the package, we need to import the migrations and config file required for the loyalty. for this please runfollowing two command in terminal.
php artisan vendor:publish --tag=migration
php artisan vendor:publish --tag=config
This will import require migration files to the project. Now final step we are to migrate the imported migration file.
php artisan migrate
License
The is open-sourced package licensed under the MIT license.
统计信息
- 总下载量: 82
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-10-09