文件名称:laravel-shield:用于Laravel的HTTP基本身份验证中间件
文件大小:5KB
文件格式:ZIP
更新时间:2024-02-25 06:06:28
php middleware laravel composer LaravelPHP
拉拉维尔盾牌 Laravel的中间件。 // Use on your routes. Route :: get ( '/' , [ 'middleware' => 'shield' ], function () { // Your protected page. }); // Use it within your controller constructor. $ this -> middleware ( 'shield' ); // Use specific user credentials. $ this -> middleware ( 'shield:hasselhoff' )
【文件预览】:
laravel-shield-master
----composer.json(1KB)
----config()
--------shield.php(733B)
----LICENSE(1KB)
----src()
--------ShieldMiddleware.php(973B)
--------ShieldServiceProvider.php(1KB)
--------Shield.php(1KB)