To install Laravel JivoChat you need run the follow command inside the path of your project:
composer require danielmadu/laravel-jivochat
After installation is necessary add the following line into provides
array at the config/app.php
file:
DanielMadu\JivoChat\JivoChatServiceProvider::class,
Run the command bellow to publish the configuration file config/jivochat.php
:
php artisan vendor:publish --provider="DanielMadu\JivoChat\JivoChatServiceProvider"
Open the configuration file config/jivochat.php
and configure with your widget_id located at the chat code provided by the JivoChat
Add the directive @jivochat
at the footer of your code before the closing tag </body>