banckle/chat-laravel

This is a Laravel Package to use Banckle.Chat SDK for PHP in Laravel applications quickly and easily.
15
Install
composer require banckle/chat-laravel
PHP:>=5.3.0
Last Updated:Oct 14, 2014
Links: GitHub  ·  Packagist
Maintainer: masood-anwer

#Banckle.Chat for Laravel

This is a Laravel Package to use Banckle.Chat SDK for PHP in Laravel applications quickly and easily.

Installation

Add the following lines to your composer.json file.

Run from terminal.

Add package to the list of providers. In config/app.php, add the following line to the providers array.

Publish config files from the terminal.

Edit the new config file in the config/packages/banckle/chat-laravel and enter your Banckle API Key, email & password.

In config/packages/banckle, rename chat-laravel to chat

Usage

Anywhere in your application when you need to access class, just do:

This will return you object of class and you can access properties and methods of class.