项目作者: emtiazzahid

项目描述 :
Tidio chat widget for laravel
高级语言: PHP
项目地址: git://github.com/emtiazzahid/tidio-laravel.git
创建时间: 2021-10-02T07:45:43Z
项目社区:https://github.com/emtiazzahid/tidio-laravel

开源协议:MIT License

下载


tidio for Laravel


License
Latest Version
Total Downloads

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





Minimum Requirements

  • PHP 7.0+
  • Laravel 5.5+

Installation

  1. composer require emtiazzahid/tidio-laravel
  2. php artisan vendor:publish --provider="EmtiazZahid\Tidio\TidioServiceProvider"
  3. Add your chat link to your .env file:
  1. TIDIO_KEY="*yi7****lo1cfaxvmcr*****cuipc***"

To get your widget key:

Usage

Just echo the widget code in your app layout blade inside the body tag:

  1. ...
  2. {{ \EmtiazZahid\Tidio\Tidio::widgetCode() }}
  3. </body>
  4. </html>

Or, if you don’t want to use a config file, you can set your link directly like this:

  1. ...
  2. {{ \EmtiazZahid\Tidio\Tidio::widgetCode('your_public_key') }}
  3. </body>
  4. </html>

License

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