PHP code example of seansch / interspire

1. Go to this page and download the library: Download seansch/interspire library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

seansch / interspire example snippets


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


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


php artisan vendor:publish


    $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)