This repository contains the open source PHP SDK that allows you to access the Encompass Platform from your Lumen/Laravel app.
composer require delarocha/laravel-Encompass-sdk
app
config
Encompass.php
return array(
'user' => env('Encompass_USER'),
'password' => env('Encompass_PASSWORD'),
'domain' => env('Encompass_DOMAIN'),
);
$app->configure('Encompass');
use Encompass\Encompass;
$Encompass = new Encompass;
$segments = $Encompass->getService()->get('/segments')->getItems();
MIT