genealabs / laravel-tawk
Integrate Tawk.to into yoru Laravel and Nova apps.
Package info
github.com/mikebronner/laravel-tawk
Type:laravel-package
pkg:composer/genealabs/laravel-tawk
Fund package maintenance!
Requires
- illuminate/support: ^8.0|^9.0|^10.0|^11.0
- illuminate/view: ^8.0|^9.0|^10.0|^11.0
This package is auto-updated.
Last update: 2026-03-16 19:54:41 UTC
README
Easily and quickly integrate Tawk.to LiveChat into your laravel app in under 5 minutes!
Features
- all the default Tawk.to LiveChat features.
- automatic user identification (for logged-in users).
- secure chat API (for logged-in users).
Requirements
- PHP 8.2+
- Laravel 8.0+
Supported Versions
| PHP | Laravel |
|---|---|
| 8.2 | 8.x – 11.x |
| 8.3 | 8.x – 11.x |
| 8.4 | 8.x – 11.x |
| 8.5 | 8.x – 11.x |
Installation
composer require "genealabs/laravel-tawk:*"
Configuration
Refer to the Property Settings page in your Tawk.to dashboard for the required
values. Add the following to your .env file:
TAWK_API_KEY=xxxxxxxxxxxxxxx
TAWK_SITE_ID=yyyyyyyyyyyyyyy
Implementation
Laravel App
Add the following to your layout blade template immediately before the closing
</body> tag:
@tawk // </body> // </html>
Laravel Nova
If you are using Laravel Nova as a dashboard for your users, first publish the
layout blade template, then insert the blade directive immediate prior to the
closing </body> tag in resources/views/vendor/nova/layout.blade.php:
@tawk // </body> // </html>