Download the PHP package junqing124/huawei-cloud without Composer

On this page you can find all versions of the php package junqing124/huawei-cloud. 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 huawei-cloud

安装方式:
composer require junqing124/huawei-cloud

非官方项目,主要用于对华为云的基本管理,实现原理是对其url组装程序封装好,如果想实现华为云的其它功能可以看案例Esc\v20200320\Reboot.php,官方文档是:https://support.huaweicloud.com/api-ecs/ecs_02_0302.html

开发规则:
1、包名请以华为的资源名首字母大写为包名,其它为小写,如果碰上空格或其它特殊字符直接去除,如操作管理esc的则包名为Esc,Cloud Eye则包名为CloudEye
2、包版本以日期为准则,如果官方API版本升级,则新起个日期做更新,否则直接更新当前的包[v20200320]。号外:为啥不用华为api里的版本号,因为发现版本号比较放飞自我,有v1.0[support.huaweicloud.com/api-ces/ces_03_0023.html]、v2[support.huaweicloud.com/api-ecs/ecs_02_0201.html]、v3[support.huaweicloud.com/api-rds/rds_06_0001.html]、v1[support.huaweicloud.com/api-ecs/ecs_02_0203.html]等,故直接用日期做本SDK的版本号
3、所有的动作都是一个类,设置好成员属性后,用action调用

基本配置获取:
1、Customer Id:
API凭证->账号ID
2、key和secret获取:
我的凭证->访问密码,然后新增访问密钥
后面会有个csv下载下来,里面有Access Key Id和Secret Access Key。

PrivateNumberAX的信息获取:https://console.huaweicloud.com/privatenumber/?agencyId=4331785abebd4d1294f6350fb53ecdc3®ion=cn-north-1&locale=zh-cn#/management/appmanagement/

本案例中请在example目录下,新建config.php,然后根据自己的key配置如下内容即可:

1.0.4(2020-05-09):
1、增加对PrivateNumber的AX模式的支持:绑定虚拟电话号码和真实电话号码

1.0.3(2020-04-15):
1、修改project list的获取方式

1.0.2(2020-03-25):
1、获取资源过期时间
2、规范开发规则

1.0.1(2020-03-20):
1、基本版本上线
2、ESC的基本操作:获取列表、重启、开启、停止


All versions of huawei-cloud with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3
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 junqing124/huawei-cloud contains the following files

Loading the files please wait ....