Download the PHP package live-person-inc/live-engage-laravel without Composer
On this page you can find all versions of the php package live-person-inc/live-engage-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download live-person-inc/live-engage-laravel
More information about live-person-inc/live-engage-laravel
Files in live-person-inc/live-engage-laravel
Package live-engage-laravel
Short Description LiveEngage package for laravel
License MIT
Informations about the package live-engage-laravel
Live Engage Laravel
Laravel package to easily tap the LiveEngage developer APIs for such content as Engagement History, Engagement Attributes, and more...
Use at your own risk. This package carries no SLA or support and is still currently under development.
Installation
Install via composer
Register Service Provider
Note! This and next step are optional if you use laravel>=5.5 with package auto discovery feature.
Add service provider to config/app.php
in providers
section
Register Facade
Register package facade in config/app.php
in aliases
section
Usage
Create/Obtain an API key from LiveEngage with appropriate permissions for the APIs you intend to access. The default
key is required.
Configure your keys/account in config/services.php
If you want to have multiple API keys, you can add more arrays for them. The keys for each array are arbitrary, but you will need to specify them later to access specific key sets.
To make an api call on a specific key set...
To use the default keyset, you need not use the key
method at all.
Example: Capturing engagement history between 2 date/times using global account configured above.
Example: Getting engagement history between 2 date/times for specific skill IDs.
engagementHistory()
and conversationHistory()
returns a Laravel collection of Engagement objects.
Example: Pulling the next "page" of data in to the collection.
Or
Example: Iterate through all messages of the transcript
Transcript is a collection of message objects, so you can access properties of the message as well.
Example: Get messaging agents availability by skill
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
This package is bootstrapped with the help of melihovv/laravel-package-generator.
All versions of live-engage-laravel with dependencies
guzzlehttp/oauth-subscriber Version ^0.3.0
laravel/framework Version >=5.5