Download the PHP package lmh/easyopen without Composer
On this page you can find all versions of the php package lmh/easyopen. 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 easyopen
easyopen
一个简单易用的接口开放平台,平台封装了常用的参数校验、结果返回等功能,开发者只需实现业务代码即可。
easyopen的功能类似于淘宝开放平台,它的所有接口只提供一个url,通过参数来区分不同业务。这样做的好处是接口url管理方便了,平台管理者只需维护好接口参数即可。由于参数的数量是可知的,这样可以在很大程度上进行封装。封装完后平台开发者只需要写业务代码,其它功能可以通过配置来完成。
示例
-
1、定义自己的控制器和网关路由,注入OpenRequestDispatcher 即可
-
2、定义开发服务类如下,引入OpenService 和 OpenMapping即可
- 3、 请求数据:
签名密钥获取
-
1、定义数据获取类实现ApplicationDataFetchInterface接口,例如:
-
2、在 config/autoload/dependencies.php 内完成关系配置:
- 3、发布平台密钥配置文件
All versions of easyopen with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2
ext-json Version *
ext-swoole Version >=4.5
ext-openssl Version *
hyperf/constants Version ^2.0
hyperf/di Version 2.0.*
hyperf/framework Version 2.0.*
hyperf/utils Version ~2.0.0
hyperf/validation Version ^2.0
ext-json Version *
ext-swoole Version >=4.5
ext-openssl Version *
hyperf/constants Version ^2.0
hyperf/di Version 2.0.*
hyperf/framework Version 2.0.*
hyperf/utils Version ~2.0.0
hyperf/validation Version ^2.0
The package lmh/easyopen contains the following files
Loading the files please wait ....