Download the PHP package sxqibo/fast-sms without Composer

On this page you can find all versions of the php package sxqibo/fast-sms. 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 fast-sms

岐伯短信接口

介绍

本项目是集成了各大云服务厂商的短信业务平台,由山西岐伯科技有限公司维护,目前支持阿里云、腾讯云、七牛云、又拍云、Ucloud、华为云和大汉三通,您如果有其他厂商的集成需求,请通过邮件联系作者提交需求。

运行环境

PHP7.4+

安装教程

使用 composer require sxqibo/fast-sms 命令行安装即可。

安装完成后,会在安装目录带一个配置文件,config/config,请参考该配置文件的结构当做构造函数的配置结构来进行传参。

代码贡献

如果您有发现有BUG,欢迎 Star,欢迎 PR !

商务合作

手机和微信: 18903467858

欢迎商务联系!合作共赢!

说明

该 composer 包集成了多种短信接口,具体包含下列接口:

  1. 大汉三通 Dahan
  2. 阿里云 aliyun 或 aliyun_new
  3. 腾讯云 qcloud
  4. 七牛云 qiniu
  5. 又拍云 ucloud
  6. 华为云 huawei
  7. 优刻得 upyun
  8. 梦网云 mont

例子

上面代码中的 $provider 和 $config 都可以是从数据库中读取的,也可以是从配置文件中读取的

注意:$config 的结构要和上面的结构一致*

调用上面的代码

如果需要扩展,那么实现仿照 sms 目录下,定义一个以 SmsFor 开头的类;类的构造接收配置;然后实现 SmsInterface 的接口即可;

传参时,传 SmsFor 后面的部分即可。


All versions of fast-sms with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ext-json Version *
ext-curl Version *
guzzlehttp/guzzle Version ~7.0
alibabacloud/client Version ^1.5.32
qiniu/php-sdk Version ^7.2
qcloudsms/qcloudsms_php Version 0.1.*
ucloud/ucloud-sdk-php Version ^0.3.3
alibabacloud/dysmsapi-20170525 Version 2.0.24
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 sxqibo/fast-sms contains the following files

Loading the files please wait ....