PHPackages                             littler/think-jwt - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. littler/think-jwt

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

littler/think-jwt
=================

ThinkPHP6 Jwt

0.0.4(4y ago)27[1 issues](https://github.com/littlezo/think-jwt-auth/issues)MPL-2.0PHPPHP ^7.4 || ^8.0

Since Jul 31Pushed 4y ago1 watchersCompare

[ Source](https://github.com/littlezo/think-jwt-auth)[ Packagist](https://packagist.org/packages/littler/think-jwt)[ Docs](https://github.com/littlezo)[ RSS](/packages/littler-think-jwt/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (5)Used By (0)

jwt-auth
========

[](#jwt-auth)

环境要求
----

[](#环境要求)

1. php &gt;= ^7.4
2. thinkphp ^6.0.0

安装
--

[](#安装)

稳定版

```
composer require littler/jwt-auth
```

开发版

```
composer require littler/jwt-auth:dev-next
```

使用
--

[](#使用)

1. 配置 `config/jwt.php`

完整配置

```
