tfs/sendy

消耗Sendy的API,并提供了具有processRequest()方法的可用类,允许轻松请求报价以及完成请求。

v1.0.2 2020-08-19 20:14 UTC

This package is auto-updated.

Last update: 2024-09-25 16:00:17 UTC


README

这是一个消耗Sendy Public API的Laravel SDK,让您轻松发送请求。

安装

composer require tfs/sendy

注意:请确认 TFS\Sendy\SendyServiceProvider::class 服务提供者已自动注册到您的 config/app.config 文件中

用法

本工具的目的是减少使用Sendy公共API(https://sendypublicapi.docs.apiary.io/)的麻烦。

use TFS\Sendy\Sendy;
$sendy = new Sendy;

//processing request
$response = $sendy->processRequest($params, $mode);

编码愉快!!