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