Download the PHP package stuchilde/submail-php-sdk without Composer

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

赛邮云通信 PHP SDK

Note: 内部依赖于guzzlehttp/guzzle 组件

这个SDK主要是对 赛邮云通信 的HTTP短信发送相关API的PHP封装。

SUBMAIL赛邮云通信作为专业短信群发平台,致力于为政企及个人客户提供手机短信(sms)、邮件、短信验证码、106短信等通道及api接口服务.SUBMAIL不仅提供高速、稳定、安全的短信群发,邮件群发,语音通知以及国际短信的发送,还提供更加方便快捷的A2P短信发送、smtp服务和网站集成API,使客户的触发短信和触发邮件集成更加方便,成本更低廉。

Install

Via Composer

也可以修改composer.json之后,执行 composer update 更新项目

执行命令后,自动加载需要在psr-4规范在composer.json添加

Usage

如果单独使用别忘了引入composer生成的autoload.php文件

如果是laravel用户可以不用手动include,需要执行

使用此sdk之前别忘了先在赛邮云通信官网注册并申请相应的apikey

SDK

短信-阅读详细

GATEAWAY_URL

https://api.mysubmail.com/

messageSend
请求参数
参数 必选 类型 说明
to ture string 接收方号码
content true string 必须包含【公司名】签名的文本内容
messagexSend
请求参数
参数 必选 类型 说明
to ture string 接收方号码
vars true array 必须包含【公司名】签名的文本内容

注意:凡是涉及xsend方法,需要保持项目ID(project)在配置有效。

邮件-阅读详细

语音-阅读详细

国际短信-阅读详细

Change log

Please see CHANGELOG for more information what has changed recently.

Security

If you discover any security related issues, please email :author_email instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of submail-php-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
guzzlehttp/guzzle Version ^6.3@dev
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 stuchilde/submail-php-sdk contains the following files

Loading the files please wait ....