Download the PHP
package mantoufan/yzhangateway without Composer
On this page you can find all versions of the php package
mantoufan/yzhangateway. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
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.
Developing PHP SDK for any API.
为任何 API 快速开发 PHP SDK.
Install 安装
Usage 使用
{root}/src
Client
Create a {client name}.php in src\Client Directory
在 src\Client 目录新建一个 {客户端名称}.php
Implement request method
实现请求 request 方法
Auth
如需要,新建 .php 提供鉴权类
例如包含获取 authorization 请求头的方法
If necessary, create a new .php to provide an authentication class,
such as a method to obtain the authorization request header
Exception
如需要,新建 .php 声明新错误类型
If necessary, create a new .php here to declare a new error type
Tool
ClientTool
提供 Request 静态方法,发出请求和响应
Provides the Request static method for making requests and responses
{root}/tests
{root}/.env.test
运行 composer test 前,请将.env.test.template重命名为.env.test存放测试需要的变量
Before running composer test, rename .env.test.template to env.test to store variables needed for testing
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 mantoufan/yzhangateway contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.