PHP code example of insidiousforce / laravel-marketo-extended-rest-client
1. Go to this page and download the library: Download insidiousforce/laravel-marketo-extended-rest-client 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/ */
insidiousforce / laravel-marketo-extended-rest-client example snippets
use CSD\Marketo\Client;
$client = Client::factory(array(
'client_id' => 'Marketo client ID', // ely, you can supply the full URL, e.g. 'url' => 'https://100-ABC-123.mktorest.com'
));
use CSD\Marketo\Client;
$client = Client::factory(array(
'client_id' => 'Marketo client ID', // ely, you can supply the full URL, e.g. 'url' => 'https://100-ABC-123.mktorest.com'
'bulk' => true // if uploading leads via file upload (e.g. csv)
));