https://github.com/info2soft/i2up-php-sdk
https://github.com/info2soft/i2up-php-sdk
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/info2soft/i2up-php-sdk
- Owner: info2soft
- Created: 2019-01-10T08:04:02.000Z (over 7 years ago)
- Default Branch: develop
- Last Pushed: 2024-08-01T15:01:10.000Z (almost 2 years ago)
- Last Synced: 2025-05-21T19:51:15.214Z (about 1 year ago)
- Language: PHP
- Size: 818 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# i2up SDK for PHP
此 SDK 适用于 **PHP >= 5.3.0**。使用此 SDK 构建您的网络应用程序,无论您的网络应用是一个网站程序,还是包括从云端(服务端程序)到终端(手持设备应用)的架构服务或应用,都能让您以非常便捷地方式使用英方统一数据管理平台(下简称“英方平台”)管理您的业务。
I2UP PHP SDK 属于英方服务端SDK之一,主要用于管理您英方平台上的服务器保护配置。
*
* [PHP SDK 源码地址](https://github.com/info2soft/i2up-php-sdk)
## 安装
支持以下2种安装SDK的方法,推荐通过Composer安装SDK。
1、使用Composer安装
* 运行 Composer 命令安装SDK:
通过composer,你可以在composer.json 声明依赖:
```json
{
"require": {
"i2soft/i2up-sdk": "^2.0.0"
}
}
```
或者运行命令:
```bash
composer require i2soft/i2up-sdk
```
然后执行 `composer install`
* 引用自动加载代码:
```bash
0,
'config_addr'=>'192.168.88.75',
'config_port'=>26821,
'node_uuid'=>'',
'os_user'=>'admin',
'os_pwd'=>'i2soft',
'i2id'=>''
);
/**
* $res为返回结果
*/
$res = $Node->authNode($auth_node_arr);
```
## API参考
* SDK具体方法的详细参数请参照[API参考](https://i2up-api-doc.info2soft.com/apiref/)
## 常见问题
* API 的使用,demo 可以参考[单元测试](https://code.info2soft.com/web/sdk/php-sdk/tree/develop/tests/i2up/Tests)。
## 相关资源
如果您有任何关于我们文档或产品的建议和想法,欢迎您通过以下方式与我们互动讨论:
- [服务与支持](https://www.info2soft.com/support) \- 在这里您可以获得直接的一对一支持。
- [提交工单](http://support.info2soft.com/welcome/) \- 如果您的问题不适合在论坛讨论或希望及时解决,您也可以提交一个工单,我们的技术支持人员会第一时间回复您。
- [微博](https://weibo.com/info2soft)
- [常见问题FAQ](http://support.info2soft.com/service/public.pl)
## 贡献代码
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