seansch/interspire

Interspire API Wrapper for Laravel 5
142 1
Install
composer require seansch/interspire
Latest Version:v1.1.0
PHP:>=5.4.0
License:MIT
Last Updated:Feb 16, 2017
Links: GitHub  ·  Packagist
Maintainer: seansch

Interspire API Wrapper

Installation

First, pull in the package through Composer.

"require": {
    "seansch/interspire": "dev-master"
}

And then, if using Laravel 5, include the service provider within app/config/app.php.

'providers' => [
    'Seansch\Interspire\InterspireServiceProvider'
];

And, for convenience, add a facade alias to this same file at the bottom:

'aliases' => [
    'Interspire' => 'Seansch\Interspire\InterspireFacade'
];

Publish the config file app/config/interspire.php and edit with your details

php artisan vendor:publish

Usage

Returns bool based on success

    $result = Interspire::addSubscriberToList($email, $list_id, array $fields);
    $result = Interspire::deleteSubscriber($email, $list_id)
    $result = Interspire::isOnList($email, $list_id)
    $result = Interspire::getCustomFields($list_id)

Related Packages

erirk/paypalpayment

laravel-paypalpayment is simple package help you process direct credit card paym...

0
gabrieloliverio/laravel5-generators

Database metadata-based generators for Laravel 5

1
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

625,281,324 9,703
laravel/framework

The Laravel Framework.

572,249,171 34,893
laravel/tinker

Powerful REPL for the Laravel framework.

481,927,243 7,441