WTF 框架的包
github.com/frameworkwtf/rest
主页
源代码
问题
安装: 319
依赖项: 0
建议者: 1
安全: 0
星标: 2
关注者: 2
分支: 0
开放问题: 0
Requires
Requires (Dev)
None
Suggests
Provides
Conflicts
Replaces
MIT 9821ddb3bf619c8528c0694207c9284f9f3c271a
This package is auto-updated.
Last update: 2024-09-13 22:38:35 UTC
composer require wtf/rest
创建配置文件 jwt.php
jwt.php
<?php declare(strict_types=1); return [ "path" => "/api", "passthrough" => ["/api/login"], "secret" => 'JWT_SECRET', ];
文档: tuupola/slim-jwt-auth
\Wtf\Rest\Provider
suit.php
jwt_middleware