PHP code example of expressmakers / expressmakers-php

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

    

expressmakers / expressmakers-php example snippets


$em = new Expressmakers\API\ExpressMakers($token);
// use the method you want, ex:
var_dump($em->checkCredit()->getData());

Route::get('/', function (\Expressmakers\API\ExpressMakers $pm) {
    dd($pm->getOrders()->getData());
});

$em = resolve('ExpressMakers\\API\\ExpressMakers');
dd($em->getOrders()->getData());