Download the PHP package cicerbro/sendy-php-api without Composer
On this page you can find all versions of the php package cicerbro/sendy-php-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cicerbro/sendy-php-api
More information about cicerbro/sendy-php-api
Files in cicerbro/sendy-php-api
Package sendy-php-api
Short Description Sendy PHP API Wrapper: Complete API interfacing.
License MIT
Informations about the package sendy-php-api
š Sendy PHP API Wrapper: Complete API interfacing.
[![emoji-log](https://cdn.rawgit.com/ahmadawais/stuff/ca97874/emoji-log/flat-round.svg)](https://github.com/ahmadawais/Emoji-Log/)šØ SENDY API
Forked from the original author: cicerbro/Sendy-PHP-API
With this Sendy PHP API Wrapper
you can do the following:
SUBSCRIBERS | LISTS | CAMPAIGNS |
---|---|---|
Subscribe | Set List | Create |
Unsubscribe | Get List | Draft |
Delete subscriber | Active subscriber count | Send |
Subscription status | List Segments handling | Assign to brands |
Getting Started
Getting started is easy. Here's how you do it. You can check the example.php file as well. Obviously, you'll have to download the wrapper to your current setup. Several ways to do that.
#1 MANUAL INSTALL:
Git clone this repo and include ./src/API.php
in your project.
#2 COMPOSER INSTALL:
Composer Install is the preferred method.
Step 0. Require the wrapper
Step 1. Configure it
Step 2. Init
API KEY METHODS
- Method:
subscribe()
. - Method:
unsubscribe()
. - Method:
subStatus()
. - Method:
delete()
. - Method:
subCount()
. - Method:
campaign()
.
Method #1: Subscribe
Method #2: Unsubscribe
Method #3: Subscriber Status
Method #4: Delete Subscriber
Method #5: Subscriber Count of a list
Method #6: Campaign ā Draft And/Or Send as well
Method #7: Set List ID
Method #8: Get List ID
Response
The response of this PHP wrapper is custom-built. At the moment, it always returns a PHP Array. This array has the status
of your action and an appropriate message
in the response.
status
is eithertrue
orfalse
.message
is based on the type of action being performed
Changelog
āÆ Read the changelog here ā
KEY: š¦ NEW
, š IMPROVE
, š FIX
, š DOC
, š RELEASE
, and ā
TEST
I use Emoji-log, you should try it and simplify your git commits.
License & Conduct
- MIT Ā© Ahmad Awais
- Code of Conduct
- Props to Jacob Bennett for his initial work on the lib.
- Requires at least PHP 5.3.0 (otherwise remove the namespaces).
Connect
(follow) To stay up to date on free & open-source software
(follow) To get #OneDevMinute daily hot tips & trolls
(subscribe) To tech talks & #OneDevMinute videos
Sponsor
Me (Ahmad Awais) and my incredible wife (Maedah Batool) are two engineers who fell in love with open source and then with each other. You can read more about me here. If you or your company use any of my projects or like what Iām doing then consider backing me. I'm in this for the long run. An open-source developer advocate.