PHP code example of baorv / l5-getresponse

1. Go to this page and download the library: Download baorv/l5-getresponse 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/ */

    

baorv / l5-getresponse example snippets


return [
    ...
    'providers' => [
        ...
        '\Secomapp\GetResponse\GetResponseServiceProvider',
        ...
    ],
    'aliases' => [
        ...
        '\Secomapp\GetResponse\Facades\GetResponse',
        ...
    ]
    ...
];

./artisan vendor:publish --provider="Secomapp\\GetResponse\\GetResponseServiceProvider"


use Secomapp\GetResponse\Facades\GetResponse;

GetResponse::accounts();
GetResponse::getCampaigns();
GetResponse::getCampaign($campaign_id);

getresponse_accounts();
getresponse_get_campaigns();
getresponse_get_campaign();