jezzdk/laravel-sweet-regan
Composer 安装命令:
composer require jezzdk/laravel-sweet-regan
包简介
Shows a lovely message from everyones favorite demon every once in a while.
README 文档
README
Installation
To summon Sweet Regan, add the following middleware to your web group:
protected $middlewareGroups = [ 'web' => [ \Jezzdk\LaravelSweetRegan\Http\Middleware\SweetRegan::class, ], ];
You may publish the config file and view with:
php artisan vendor:publish --provider="Jezzdk\LaravelSweetRegan\SweetReganServiceProvider"
Configuration
The default config looks like this:
return [ // How often do you want Regan to visit your site? 'chance' => '1:10', // How long do you want Regan to stay on your site? (in seconds) 'visit_length' => 2, ];
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-01-05