27/11
2017
Wallogit.com
2017 © Pedro Peláez
Custom Blade directive for JivoChat
To install Laravel JivoChat you need run the follow command inside the path of your project:, (*1)
composer require danielmadu/laravel-jivochat
After installation is necessary add the following line into provides array at the config/app.php file:, (*2)
DanielMadu\JivoChat\JivoChatServiceProvider::class,
Run the command bellow to publish the configuration file config/jivochat.php:, (*3)
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, (*4)
Add the directive @jivochat at the footer of your code before the closing tag </body>, (*5)