Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luffyzhao/hyperf-tools
hyperf 自用工具
https://github.com/luffyzhao/hyperf-tools
Last synced: about 1 month ago
JSON representation
hyperf 自用工具
- Host: GitHub
- URL: https://github.com/luffyzhao/hyperf-tools
- Owner: luffyzhao
- Created: 2022-04-26T06:49:14.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-06-06T09:16:22.000Z (over 2 years ago)
- Last Synced: 2024-10-12T10:47:02.510Z (2 months ago)
- Language: Vue
- Size: 648 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# laravel erp管理后台权限认证
### 安装
> composer require luffyzhao/hyperf-tools
#### 发布配置文件
> php bin/hyperf.php vendor:publish luffyzhao/hyperf-tools#### 管理模块
> php bin/hyperf.php gen:repository> php bin/hyperf.php gen:search
> php bin/hyperf.php gen:service
#### jwt 配置
> php bin/hyperf.php gen:jwt-secret
> php bin/hyperf.php gen:jwt-keypair#### .env 文件
```angular2html
JWT_BLACKLIST_GRACE_PERIOD=5 设置宽限期(以秒为单位)以防止并发请求失败。
JWT_TTL=3600 指定令牌有效的时长(以秒为单位)。默认为 1 小时
```