userlike has a lot of integrations, but not for Laravel. This is an userlike chat widget for Laravel.
- PHP 7.0+
- Laravel 5.5+
composer require emtiazzahid/userlike-laravel
php artisan vendor:publish --provider="EmtiazZahid\UserLike\UserLikeServiceProvider"
- Add your chat link to your
.env
file:
USERLIKE_KEY="**84ea169c8b4049a*******ec2f982d58fca8b147184ea6a6d356154036****"
####To get your widget key:
- Visit: your dashboard
- Select your website
- Select Install from right side
- Select Credentials for Applications
Just echo the widget code in your app layout blade inside the body tag:
...
{{ \EmtiazZahid\UserLike\UserLike::widgetCode() }}
</body>
</html>
Or, if you don't want to use a config file, you can set your link directly like this:
...
{{ \EmtiazZahid\UserLike\UserLike::widgetCode('your_widget_key') }}
</body>
</html>
userlike-laravel is released under the MIT license. See LICENSE for details.