@ -14,14 +14,17 @@ composer require arch/php-auth-client
### 代码中启用
注册中间件
```PHP
* 注册中间件
```php
$app->routeMiddleware([
'auth' => PdAuth\Middleware\Authenticate::class,
]);
```
注册服务
* 注册服务
$app->register(PdAuth\PdAuthServiceProvider::class);
The note is not visible to the blocked user.