n0izestr3am / license-client
"Web应用程序的许可证/序列号"
v1.0
2023-07-28 09:33 UTC
Requires
- php: ^7.2|^8.0
- ext-json: *
- ixudra/curl: 6.*
- laravel/framework: ^6.0|^8.0
README
GTDS内部客户的许可证和付款提醒应用程序
此包基于用于Laravel的app-license-client包。
composer require n0izestr3am/license-client
php artisan migrate --path=vendor/n0izestr3am/license-client/migrations
php artisan db:seed --class=gtdsClientsSeeder
Laravel设置
添加到config/app.php
'providers' => [
....
n0izestr3am\AppLicenseClient\AppLicenseClientServiceProvider::class,
];
添加到config/app.php
'aliases' => [
....
'ALC' => n0izestr3am\AppLicenseClient\Facades\AppLicenseClient::class,
],
发布供应商
php artisan vendor:publish --tag=app-license-client
配置文件
config/n0izestr3am/app-license-client.php
在路由中实现中间件
Route::middleware('expired')->get('/example','TestController@index');
在仪表板上实现通知
@include('vendor.client.notif')