Download the PHP package iotyun/iot-huawei-php without Composer

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

项目说明

一、项目说明

适用于华为、中国电信物联网平台北向应用对接的PHP版本SDK。

二、项目由来

项目由原华为提供的PHP版SDK继续开发而来,不知道什么原因华为官方平台的PHP版本SDK下线了,我们依照以前版本的SDK开发了本项目。与原华为SDK相比主要改变为:
1、取消了华为原项目中的日志记录功能,现在一般的开发框架都自带了日志功能,如果您需要记录日志,请使用您自己框架的日志功能自行实现。
2、改为composer安装,遵循psr-4自动加载。

三、项目限制

1、本项目只实现了华为与电信物联网平台的调用,返回的信息将不会进行存储。例如获取到平台的accessToken后您需要自行存储到自己的系统;调用接口是必须提供正确的accessToken;accessToken到期不会自动刷新。
2、本项目返回的数据全部为对象,你可以根据自己项目的需要自行进行数据格式转换。
3、本项目不实现物联网平台的回调接口,回调接口需要您自己实现。
4、本项目不依托于任何PHP开发框架,但我们仅在我们自己的物联网开发框架及thinkphp框架进行了测试,如果您使用中发现任何问题,请向我们提交,我们将尽快修复。
5、由于本项目移植于华为已下架的SDK,我们对物联网平台API进行了更新,但是不保证使用最新技术、最高性能的编码方式。
_后期我们将提供一个完整的框架,实现_accessToken的自动存储及刷新、回调信息直接输出、日志存储、多用户支持等。新框架将以本项目作为依赖包,我们分为两个项目是为了方便使用自己开发框架,因此您现在使用本项目并不影响您以后使用我们的完整框架。

四、安装方法

composer安装

五、使用方法

使用use导入命名空间。例如以下是获取accessToken及刷新Token的示例。

六、技术支持

1、开发文档
https://www.yuque.com/iotyun.vip/iot-huawei-php/bko2qi
2、微信交流群
contact_me_qr (1).png

七、关于我们

一个有着多年物联网应用产品开发的团队,拥有GPRS、WIFI、zigbee、蓝牙、NB-IOT、modbus、lora通讯开发经验,开发成功并正在运营的项目有共享充电桩、共享陪护床、远程抄表、空调节能控制、自助售卖机、移动跟踪等。


All versions of iot-huawei-php with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
ext-openssl 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 iotyun/iot-huawei-php contains the following files

Loading the files please wait ....