2017 © Pedro Peláez
 

library chat-code-generator

This simple PHP class allows you to easily generate Smartsupp.com JS chat code.

image

smartsupp/chat-code-generator

This simple PHP class allows you to easily generate Smartsupp.com JS chat code.

  • Monday, February 12, 2018
  • by marekgach
  • Repository
  • 14 Watchers
  • 2 Stars
  • 196 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 4 % Grown

The README.md

Build Status Coverage Status, (*1)

Smartsupp chat code generator

This is simple PHP class for Smartsupp chat API which helps you to generate chat JavaScript code., (*2)

Get Started

Here is an example on how to use it:, (*3)

  $chat = new Smartsupp\ChatGenerator;

  $chat->setKey('XYZ123456');
  $chat->disableSendEmailTranscript();
  $chat->enableRating('advanced', true);
  $chat->setBoxPosition('left', 'side', 20, 120);
  $chat->setName('Johny Depp');
  $chat->setEmail('johny@depp.com');
  $chat->setVariable('orderTotal', 'Total orders', 150);
  $chat->setVariable('lastOrder', 'Last ordered', '2015-07-09');
  $chat->setGoogleAnalytics('UA-123456');
  $data = $chat->render();

Requirements

For backward compatibility with multiple plugins library supports PHP starting from version 5.3. It is highly possibly the constraint will change to 5.6+ in near future., (*4)

Copyright (c) since 2016 Smartsupp.com, s.r.o., (*5)

The Versions

12/02 2018

dev-master

9999999-dev https://www.smartsupp.com/

This simple PHP class allows you to easily generate Smartsupp.com JS chat code.

  Sources   Download

The Requires

  • php >=5.3.2

 

The Development Requires

by Marek Gach

chat

01/12 2015

1.0

1.0.0.0 https://www.smartsupp.com/

This simple PHP class allows you to easily generate Smartsupp.com JS chat code.

  Sources   Download

The Requires

  • php >=5.3.2

 

The Development Requires

by Marek Gach

chat

01/12 2015

0.1.4

0.1.4.0 https://www.smartsupp.com/

This simple PHP class allows you to easily generate Smartsupp.com JS chat code.

  Sources   Download

The Requires

  • php >=5.3.2

 

The Development Requires

by Marek Gach

chat

06/10 2015

0.1.3

0.1.3.0 https://www.smartsupp.com/

This simple PHP class allows you to easily generate Smartsupp.com JS chat code.

  Sources   Download

The Requires

  • php >=5.3.2

 

The Development Requires

by Marek Gach

chat

14/08 2015

0.1.2

0.1.2.0 https://www.smartsupp.com/

This simple PHP class allows you to easily generate Smartsupp.com JS chat code.

  Sources   Download

The Requires

  • php >=5.3.2

 

The Development Requires

by Marek Gach

chat

13/08 2015

0.1.1

0.1.1.0 https://www.smartsupp.com/

This simple PHP class allows you to easily generate Smartsupp.com JS chat code.

  Sources   Download

The Requires

  • php >=5.3.2

 

The Development Requires

by Marek Gach

chat

07/08 2015

0.1

0.1.0.0 https://www.smartsupp.com/

This simple PHP class allows you to easily generate Smartsupp.com JS chat code.

  Sources   Download

The Requires

  • php >=5.3.2

 

The Development Requires

by Marek Gach

chat