n0izestr3am/license-client

"Web应用程序的许可证/序列号"

安装: 9

依赖: 0

建议者: 0

安全: 0

星标: 0

关注者: 1

分支: 0

开放问题: 0

类型:package

v1.0 2023-07-28 09:33 UTC

This package is auto-updated.

Last update: 2024-09-14 20:20:19 UTC


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')