delarocha / laravel-encompass-manager
Encompass Manager for Laravel
dev-master
2021-02-03 17:37 UTC
Requires
- php: >=7.1
- guzzlehttp/guzzle: ^6.5
Requires (Dev)
- phpunit/phpunit: ^8.5
Suggests
- guzzlehttp/guzzle: Allows for implementation of the Guzzle HTTP client
This package is auto-updated.
Last update: 2025-04-29 01:11:15 UTC
README
This repository contains the open source PHP SDK that allows you to access the Encompass Platform from your Lumen/Laravel app.
Lumen Configuration
Install with composer
composer require delarocha/laravel-Encompass-sdk
Create Encompass.php file in config directory.
app
config
Encompass.php
Add the following configuration array.
return array(
'user' => env('Encompass_USER'),
'password' => env('Encompass_PASSWORD'),
'domain' => env('Encompass_DOMAIN'),
);
Include Encompass config file file in boostrap/app
$app->configure('Encompass');
Example
use Encompass\Encompass;
$Encompass = new Encompass;
$segments = $Encompass->getService()->get('/segments')->getItems();
License
MIT