coreblue/moat
Composer 安装命令:
composer require coreblue/moat
包简介
Password protect your staging websites
README 文档
README
This package makes it easy to password protect your Laravel staging websites.
Installation
You can install the package via composer:
composer require coreblue/moat
Setup
Register the Moat middleware in the application's route middleware groups.
//app/http/Kernel.php protected $middlewareGroups = [ 'web' => [ \CoreBlue\Moat\Middleware\ApplyMoat::class, ], ];
Usage
To get started with Moat run the following command.
php artisan moat:create
Once the create command has been run you will be able to run the following commands.
You can enable Moat via:
php artisan moat:up
You can disable Moat via:
php artisan moat:down
You can set a new password via:
php artisan moat:password
You can check the current status via:
php artisan moat:status
统计信息
- 总下载量: 28
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2018-08-22