PHPackages                             gq-tools/tools - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. gq-tools/tools

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

gq-tools/tools
==============

GQ Tools for PHP

v1.0.1(3y ago)014MITPHPPHP ^7.4 || ^8.0

Since Oct 2Pushed 3y ago1 watchersCompare

[ Source](https://github.com/GQ-Y/gq-tools)[ Packagist](https://packagist.org/packages/gq-tools/tools)[ Docs](https://github.com/GQ-Y/gq-tools.git)[ RSS](/packages/gq-tools-tools/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

GQ Tools
========

[](#gq-tools)

```
GQ Tools工具库合集，内部包含了丰富的常用工具类，方便开发者快速开发项目。

```

1. GQ Tools工具库介绍
----------------

[](#1-gq-tools工具库介绍)

安装

```
composer require gq-tools/tools

```

插件列表

- think-jwt Thinkphp6 JWT
- getIp 获取环境服务器IP地址
- SM4 国标SM4加密算法

think-jwt
=========

[](#think-jwt)

基于[lcobucci/jwt](https://packagist.org/packages/lcobucci/jwt)封装的一个jwt工具包,在前后端分离时 它非常有用。

#### 配置

[](#配置)

/config/jwt.php

```
