Looking to hire Laravel developers? Try LaraJobs

userlike-laravel maintained by emtiazzahid

Description
A userlike chat widget for Laravel.
Author
Last update
2021/10/01 18:33 (dev-master)
License
Downloads
7

Comments
comments powered by Disqus

userlike for Laravel

userlike has a lot of integrations, but not for Laravel. This is an userlike chat widget for Laravel.

Minimum Requirements

  • PHP 7.0+
  • Laravel 5.5+

Installation

  1. composer require emtiazzahid/userlike-laravel
  2. php artisan vendor:publish --provider="EmtiazZahid\UserLike\UserLikeServiceProvider"
  3. 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

Usage

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>

License

userlike-laravel is released under the MIT license. See LICENSE for details.