emtiazzahid/tidio-laravel
最新稳定版本:v0.0.1
Composer 安装命令:
composer require emtiazzahid/tidio-laravel
包简介
A tidio chat widget for Laravel.
README 文档
README
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
composer require emtiazzahid/tidio-laravelphp artisan vendor:publish --provider="EmtiazZahid\Tidio\TidioServiceProvider"- Add your chat link to your
.envfile:
TIDIO_KEY="*yi7****lo1cfaxvmcr*****cuipc***"
####To get your widget key:
- Visit: your dashboard developer settings
- Copy public key
Usage
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>
License
tidio-laravel is released under the MIT license. See LICENSE for details.
统计信息
- 总下载量: 816
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-10-02