2017 © Pedro Peláez
 

library livechat-api

A simplified PHP Livechatinc API

image

gufy/livechat-api

A simplified PHP Livechatinc API

  • Sunday, June 28, 2015
  • by mgufron
  • Repository
  • 1 Watchers
  • 0 Stars
  • 20 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 26 Forks
  • 0 Open issues
  • 2 Versions
  • 5 % Grown

The README.md

PHP LivechatInc API

PHP library with ready-to-use LiveChat API implementation., (*1)

Installation

add this package to your composer.json by running this command, (*2)

  composer require gufy/livechat-api

or add this package manually to your composer.json, (*3)

{
  "require":{
    "gufy/livechat-api":"~1"
  }
}

Available Models

This models are available and ready to use - Agent - CannedResponse - Chat - Goal - Greeting - Group - Report - Status - Tag - Ticket - Visitor - Webhook, (*4)

Usage

Try this code below, (*5)

<?php
include 'vendor/autoload.php'

use Gufy\LivechatApi\LivechatApi;
use Gufy\LivechatApi\Models\Agent;
$api = new LivechatApi('your-user-name', 'your-api-key');

// retrieving all agents

$agents = $api->agent->get();

print_r($agents);

// or the other way, and of course you have to declare LivechatApi configuration first before using class below

$class = new Agent;
$agents = $class->get();

// it will have the same result as the code above

print_r($agents);

The Versions

28/06 2015

dev-master

9999999-dev

A simplified PHP Livechatinc API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mochamad Gufron

22/04 2015

v1.0.0

1.0.0.0

A simplified PHP Livechatinc API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mochamad Gufron