tfs / sendy
Consumes Sendy's API and provides a usable class with method processRequest() allowing easy requesting quote as well as completing request.
v1.0.2
2020-08-19 20:14 UTC
This package is auto-updated.
Last update: 2025-03-25 17:09:30 UTC
README
This is a Laravel SDK consuming Sendy Public API, allowing you to easily make your request.
Installation
composer require tfs/sendy
NOTE: Confirm that TFS\Sendy\SendyServiceProvider::class
service provider has been automatically registered inside your config/app.config
Usage
The whole point of this, is to reduce the hassle of using Sendy's Public API https://sendypublicapi.docs.apiary.io/
use TFS\Sendy\Sendy;
$sendy = new Sendy;
//processing request
$response = $sendy->processRequest($params, $mode);
Variable | Type | Description |
---|---|---|
$params | array | Parameters to pass to Sendy Public API |
$mode | string | 'sandbox' or 'live' |
Happy Coding!!