Download the PHP package kydev/work-wx-user without Composer
On this page you can find all versions of the php package kydev/work-wx-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 work-wx-user
企业微信用户系统组件
介绍
基于 Hyperf 框架,快速搭建企业微信用户服务
安装
使用
发布配置
登录
创建控制器
增加路由
浏览器访问以下地址,并扫码
http://127.0.0.1:9501/oauth/authorize?state=STATE&redirect_uri=http://127.0.0.1:9501/oauth/login
验证登录态
在 middlewares.php
配置中,增加对应的中间件。
使用时,调用 build()
方法,即可验证是否已登录,如果没有登录态,则抛出 KY\WorkWxUser\Exception\TokenInvalidException
异常。
最后只需要在我们的异常捕获器中,增加对应的异常捕获,并与前端协商好对应的错误码,即可正常使用,例如以下异常捕获器
All versions of work-wx-user with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
hyperf/command Version 3.0.*
hyperf/db-connection Version 3.0.*
hyperf/http-server Version 3.0.*
hyperf/model-cache Version 3.0.*
hyperf/redis Version 3.0.*
hyperf/validation Version 3.0.*
limingxinleo/easywechat-classmap Version ^1.0
limingxinleo/hyperf-utils Version ^3.3
w7corp/easywechat Version ^6.7
hyperf/command Version 3.0.*
hyperf/db-connection Version 3.0.*
hyperf/http-server Version 3.0.*
hyperf/model-cache Version 3.0.*
hyperf/redis Version 3.0.*
hyperf/validation Version 3.0.*
limingxinleo/easywechat-classmap Version ^1.0
limingxinleo/hyperf-utils Version ^3.3
w7corp/easywechat Version ^6.7
The package kydev/work-wx-user contains the following files
Loading the files please wait ....