PHPackages                             larbrary/tawk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. larbrary/tawk

ActiveLaravel-package[Utility &amp; Helpers](/categories/utility)

larbrary/tawk
=============

Website chat widget (tawk.to integration for Laravel).

v1.0.4(5y ago)1471MITPHPPHP &gt;=5.6.0CI failing

Since Sep 9Pushed 3y ago1 watchersCompare

[ Source](https://github.com/larbrary/tawk)[ Packagist](https://packagist.org/packages/larbrary/tawk)[ Docs](https://github.com/larbrary/tawk)[ RSS](/packages/larbrary-tawk/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (4)Versions (7)Used By (0)

Tawk [![Latest Version on Packagist](https://camo.githubusercontent.com/248898b3b8ec5b765b0817499b57fdb8ada525c4e58db6626baa8b054afd28d4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c617262726172792f7461776b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/larbrary/tawk) [![Total Downloads](https://camo.githubusercontent.com/272af1d2d232340480e9277019301edd0fabc489e9fcd30b2f1bd49e5b8ba85c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c617262726172792f7461776b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/larbrary/tawk)
============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#tawk-----)

####  The missing integration of [tawk.to](https://www.tawk.to) chat widget for Laravel.

[](#--the-missing-integration-of-tawkto-chat-widget-for-laravel)

Installation
------------

[](#installation)

Via Composer:

```
$ composer require larbrary/tawk
```

Laravel 5.5+ will use the auto-discovery function but for Laravel 5.4 and lower, you will need to include the service providers &amp; facade manually in `config/app.php`:

```
'providers' => [
//  ...,
    Larbrary\Tawk\TawkServiceProvider::class
];

//  ...

'aliases' => [
//  ...,
    'Tawk' => Larbrary\Tawk\Facades\Tawk::class
];
```

Config
------

[](#config)

In the `.env` file, set the Property ID. For example, if the Direct Chat Link is `https://embed.tawk.to/XXXXXXX/default`, the `.env` file should contain the following:

```
TAWK_TO_PROPERTY_ID=XXXXXXX
```

If you're not using the `default` chat widget, provide a Widget ID. For example, if the Direct Chat Link is `https://embed.tawk.to/XXXXXXX/5bc4ae1275bef`, the `.env` file should contain the following:

```
TAWK_TO_WIDGET_ID=5bc4ae1275bef
```

If you're using the `TAWK_API_KEY` ( only needed for automatically registering authenticated users with the tawk chat client ), the `.env` file should contain the following:

```
TAWK_TO_API_KEY=your_tawk_api_key_goes_here
```

After making changes in the `.env` file, you might need to clear the compiled views:

```
php artisan view:clear
```

Usage
-----

[](#usage)

Simply use `@tawk` in your blade layout file just before the body closing tag ( `` ):

```

        @tawk

```

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [contributing.md](contributing.md) for details.

License
-------

[](#license)

This package is released under the MIT license. Please see the [license file](license.md) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~10 days

Total

6

Last Release

2027d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/65f528bfd9872da33d1df0c2d85c6cce185e2d7e32fb32b91d6a2430c80088bd?d=identicon)[larbrary](/maintainers/larbrary)

---

Top Contributors

[![aruszala](https://avatars.githubusercontent.com/u/28464716?v=4)](https://github.com/aruszala "aruszala (12 commits)")

---

Tags

chat-widgetlaravellink-packagistlaravelwidgetchattawktotawksupport chatchat widgettawk-towebsite chat

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/larbrary-tawk/health.svg)

```
[![Health](https://phpackages.com/badges/larbrary-tawk/health.svg)](https://phpackages.com/packages/larbrary-tawk)
```

###  Alternatives

[yajra/laravel-datatables-oracle

jQuery DataTables API for Laravel

4.9k33.8M339](/packages/yajra-laravel-datatables-oracle)[cknow/laravel-money

Laravel Money

1.0k4.3M22](/packages/cknow-laravel-money)[livewire/flux

The official UI component library for Livewire.

9385.0M86](/packages/livewire-flux)[akaunting/laravel-money

Currency formatting and conversion package for Laravel

7825.3M18](/packages/akaunting-laravel-money)[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M308](/packages/psalm-plugin-laravel)[musonza/chat

Chat Package for Laravel

1.2k253.4k1](/packages/musonza-chat)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
