timedoor/tmd-basic-auth
最新稳定版本:1.1.0
Composer 安装命令:
composer require timedoor/tmd-basic-auth
包简介
Basic auth timedoor
README 文档
README
Instalation
Install Package Via Composer
composer require timedoor/tmd-basic-auth
Publish config
php artisan vendor:publish --tag=tmd-bsa
this will copy config from basic auth with file name tmd-bsa.php
Route Implementation Example
Route::get('/', function () {
return view('welcome');
})->middleware('tmd-bsa');
You can add new provider on config file and add new param on middleware
Route::get('/', function () {
return view('welcome');
})->middleware('tmd-bsa:admin,client');
Thank You
统计信息
- 总下载量: 612
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-09-01