Download the PHP package i2soft/i2up-sdk without Composer

On this page you can find all versions of the php package i2soft/i2up-sdk. 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 i2up-sdk

i2up SDK for PHP

此 SDK 适用于 PHP >= 5.3.0。使用此 SDK 构建您的网络应用程序,无论您的网络应用是一个网站程序,还是包括从云端(服务端程序)到终端(手持设备应用)的架构服务或应用,都能让您以非常便捷地方式使用英方统一数据管理平台(下简称“英方平台”)管理您的业务。

I2UP PHP SDK 属于英方服务端SDK之一,主要用于管理您英方平台上的服务器保护配置。

安装

支持以下2种安装SDK的方法,推荐通过Composer安装SDK。

1、使用Composer安装

​ 然后执行 composer install

2、下载SDK代码zip包

PHP SDK 下载地址

因为有版本更新的维护问题,这种安装方法并不推荐,仅作为Composer 安装 有问题的情况下的一种备选。

下载源代码包后,解压到您的项目中。 然后在您的项目中引入 autoloader:

运行环境

PHP 版本
cURL extension, 5.3 - 5.6,7.0

使用方法

安装好SDK后,下面将介绍SDK具体的使用方法:

英方平台的节点认证

1、准备英方平台的地址: 您安装英方平台的服务器地址,格式为:http://[ip]:[port]/

2、准备 SDK 本地缓存路径:本地会保存访问凭证以减少网络请求次数,您需要提供一个有读写权限的路径,格式为 "D:\cache\"

3、获取凭证(Auth):英方PHP SDK的所有的功能,都需要合法的授权。授权凭证需要英方平台下的一对有效的用户名密码

4、实例化具体业务管理类: 如此处为 Node类

5、调用对应业务方法: 如此处为 节点认证

节点认证

API参考

常见问题

相关资源

如果您有任何关于我们文档或产品的建议和想法,欢迎您通过以下方式与我们互动讨论:

贡献代码

  1. Fork

  2. 创建您的特性分支 git checkout -b my-new-feature

  3. 提交您的改动 git commit -am 'Added some feature'

  4. 将您的修改记录提交到远程 git 仓库 git push origin my-new-feature

  5. 然后到 github 网站的该 git 远程仓库的 my-new-feature 分支下发起 Pull Request

All versions of i2up-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3
ext-curl Version *
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 i2soft/i2up-sdk contains the following files

Loading the files please wait ....