Download the PHP package fangxu/donews-user without Composer
On this page you can find all versions of the php package fangxu/donews-user. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package donews-user
DoNews 检测用户登录通用package
未登录用户会抛出
DoNewsUserException
环境变量配置
- Token加密密钥:
DONEWS_USER_TOKEN_KEY
, 默认:1234567890123456
- Token过期天数:
DONEWS_USER_TOKEN_EXPIRED_DAYS
, 默认:7
example
注意
- 安装完之后, 如果无法正常发现包, 使用命令
composer dumpautoload
来自动发现 -
config/database.php
下添加redis
配置 - 如果使用集群Redis, 则需要在
config/database.php
下添加以下redis
配置
All versions of donews-user with dependencies
PHP Build Version
Package Version
Requires
predis/predis Version
^1.1
The package fangxu/donews-user contains the following files
Loading the files please wait ....