Download the PHP package kuga/openapi-core without Composer

On this page you can find all versions of the php package kuga/openapi-core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package openapi-core

Kuga-openapi-core

提供API网关系统基础功能框架,功能包话邮件发送、短信发送、OSS配置、日志服务、配置服务、多语言服务等,可根据需要在Init.php中修改进行启用或禁用。

API网关使用说明

API参数

有两种类型,一种是业务参数,一种是公共参数,公共参数一般是每个基本都需要或可以传递的内容。业务参数是指和当前接口有关的参数。 在本应用中,公共参数一般有:

token类型

本应用支持两种类型的token,一种是KUGA,一种是JWT:

KUGA类型token特点:

JWT特点:

API网关调用示例:

上面示例提到的api.json参见https://github.com/misnet/apidocs

sign签名串生成规则

将所有参数按字母a-z顺序排序,以Key+Value的形式串起来,头尾再加上secret值,例现在有这些参数: 系统分配的appkey是1001,appsecret是abc

按Key升序,将Key+Value的顺序排序来串,头尾加上appsecret的值就是:

然后将上面这个字串进行md5加密,再转为大写,就是sign的值

API编写说明

数据返回的结构一般是

当有错误发生时status值为非零,data值为错误信息


All versions of openapi-core with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
kuga/qing Version >=1.1.0
aliyuncs/oss-sdk-php Version >=2.2.0
qcloudsms/qcloudsms_php Version 0.1.*
alibabacloud/client Version >=1.5.30
phpoffice/phpspreadsheet Version >=1.9.0
guzzlehttp/guzzle Version 7.4.5
josegonzalez/dotenv Version 4.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kuga/openapi-core contains the following files

Loading the files please wait ....