A simple Laravel library that wraps the Facebook customer chat plugin in your website.
ltsochev/laravel-fb-chat is a Laravel package for a simple laravel library that wraps the facebook customer chat plugin in your website..
It currently has 0 GitHub stars and 86 downloads on Packagist (latest version v1.0.4).
Install it with composer require ltsochev/laravel-fb-chat.
Discover more Laravel packages by ltsochev
or browse all Laravel packages to compare alternatives.
Last updated
A simple Laravel library that wraps the Facebook customer chat plugin in your website.
Facebook Customer Chat docs can be found here: https://developers.facebook.com/docs/messenger-platform/discovery/customer-chat-plugin/
Before installing the plugin please follow the instructions on this page https://developers.facebook.com/docs/messenger-platform/discovery/customer-chat-plugin/#steps
To install the wrapper simply run the following command
composer require ltsochev/laravel-fb-chat
On older versions of Laravel you don't have the luxury of package autodiscovery so you'll have to manually add it to your project.
First off you'll need to publish the configuration of the project
php artisan vendor:publish
Once the configurations are extracted you can edit the settings in your config/customerchat.php file
Once you are done with the settings you should add the service provider in your config/app.php file like so:
<?php
'providers' => [
...
Ltsochev\CustomerChat\CustomerChatServiceProvider::class,
...
]
By default the wrapper uses an auto-inject technique so you should be able to see the Facebook chat plugin immediately.