Download the PHP package naroga/sendy-laravel without Composer
On this page you can find all versions of the php package naroga/sendy-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package sendy-laravel
Sendy Laravel
A service provider for Sendy API in Laravel 5
Installation
or append your composer.json with:
Add the following settings to the config/app.php
Service provider:
For the Sendy::
facade
Configuration
It will create sendy.php within the config directory.
Usage
Subscribe:
RESPONSE (array)
In case of success:
In case of error:
Unsubscribe:
RESPONSE (array)
In case of success:
In case of error:
Subscription status
RESPONSE (Plain text)
Success:
Subscribed
Unsubscribed
Unconfirmed
Bounced
Soft bounced
Complained
Error:
No data passed
API key not passed
Invalid API key
Email not passed
List ID not passed
Email does not exist in list
Active subscriber count
RESPONSE (Plain text)
Success:
You'll get an integer of the active subscriber count
Error:
No data passed
API key not passed
Invalid API key
List ID not passed
List does not exist
Create campaign
RESPONSE (Plain text)
Success:
Campaign created
Campaign created and now sending
Error:
No data passed
API key not passed
Invalid API key
From name not passed
From email not passed
Reply to email not passed
Subject not passed
HTML not passed
List ID(s) not passed
One or more list IDs are invalid
List IDs does not belong to a single brand
Brand ID not passed
Unable to create campaign
Unable to create and send campaign
Change list ID
To change the default list ID simply prepend with setListId($list_id)
Examples:
Todo
- Implementing the rest of the API. :)
- better documentation - in progress as you can see :)
Buy me a coffee :)
All versions of sendy-laravel with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package naroga/sendy-laravel contains the following files
Loading the files please wait ....