Download the PHP package lancewan/laravel5-cloud without Composer

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

laravel5-cloud

云通讯官方API文档

Packagist:https://packagist.org/packages/lancewan/laravel5-cloud

快速安装

通过composer来安装

或者加入下面代码到 composer.json 文件,并执行composer install Or composer update:

扩展包加载完成后,在 config/app.php 的文件中加入以下代码:

Service Provider

Facade

最后执行 php artisan vendor:publish ,在config文件夹下将会生成一个cloud.php的配置文件.

And that's it!

cloud.php 配置文件

cloud.php是云通讯的配置文件,主要配置信息如下:

主要功能

方法名和云通讯的测试demo中的方法名一致,所以大家要调用什么功能,直接看官方api的方法名来使用本扩展. enjoy it!

双向回拨

双向回拨是先拨打呼叫号码,等呼叫号码接通后再拨打被叫号码

发送短信

语音验证码

...

除了上面主要方法,还有其他的一些方法就不描述了,下面是荣联云的接口所有方法:

返回值

调用任何方法后都会返回一个数组,数组中结构如下:

请求失败

验证错误

成功

成功后的返回值都不同,返回的字段参考官方API文档

问题反馈

如果有什么Bug,反应反馈:[email protected]


All versions of laravel5-cloud with dependencies

PHP Build Version
Package Version
Requires php Version >5.5.9
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 lancewan/laravel5-cloud contains the following files

Loading the files please wait ....