Download the PHP package hlw2326/think-plugin-mp-shared without Composer
On this page you can find all versions of the php package hlw2326/think-plugin-mp-shared. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download hlw2326/think-plugin-mp-shared
More information about hlw2326/think-plugin-mp-shared
Files in hlw2326/think-plugin-mp-shared
Download hlw2326/think-plugin-mp-shared
More information about hlw2326/think-plugin-mp-shared
Files in hlw2326/think-plugin-mp-shared
Vendor hlw2326
Package think-plugin-mp-shared
Short Description ThinkAdmin 小程序插件共享组件
License MIT
Homepage https://www.hlw2326.com
Package think-plugin-mp-shared
Short Description ThinkAdmin 小程序插件共享组件
License MIT
Homepage https://www.hlw2326.com
Please rate this library. Is it a good library?
Informations about the package think-plugin-mp-shared
hlw2326/think-plugin-mp-shared
ThinkAdmin 小程序插件共享组件,提供用户解析器和通用服务,所有小程序相关插件统一依赖此包。
作者微信:hlw2326
组件内容
| 文件 | 说明 |
|---|---|
src/contract/UserResolver.php |
用户解析器接口 |
src/service/UserResolverService.php |
用户解析器服务(静态单例) |
使用方式
各插件依赖此包
主应用注册解析器
在主应用初始化时一次性注册所有插件的用户解析器:
然后在 app/mini/Service.php 中引用或直接在各插件的 Service 中完成注册。
各插件 API 基类引用
版本历史
- v1.0.0:初始版本,提供 UserResolver 接口和 UserResolverService
All versions of think-plugin-mp-shared with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
ext-json Version *
topthink/framework Version ^6.0|^8.0
zoujingli/think-library Version ^6.1
ext-json Version *
topthink/framework Version ^6.0|^8.0
zoujingli/think-library Version ^6.1
The package hlw2326/think-plugin-mp-shared contains the following files
Loading the files please wait ...