Tidio chat widget for laravel
tidio has a lot of integrations, but not for Laravel. This is an tidio chat widget for Laravel.
composer require emtiazzahid/tidio-laravel
php artisan vendor:publish --provider="EmtiazZahid\Tidio\TidioServiceProvider"
.env
file:
TIDIO_KEY="*yi7****lo1cfaxvmcr*****cuipc***"
Just echo the widget code in your app layout blade inside the body tag:
...
{{ \EmtiazZahid\Tidio\Tidio::widgetCode() }}
</body>
</html>
Or, if you don’t want to use a config file, you can set your link directly like this:
...
{{ \EmtiazZahid\Tidio\Tidio::widgetCode('your_public_key') }}
</body>
</html>
tidio-laravel is released under the MIT license. See LICENSE for details.