Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
tawk-to-development
jeffersongoncalves/laravel-tawk-to
claude-code
chat
laravel
live-chat
tawkto
customer-support
tawk-to
chat-widget
jeffersongoncalves
spatie-laravel-settings
laravel-tawk-to

Add Tawk.to to a Laravel app with jeffersongoncalves/laravel-tawk-to — Blade include, settings stored in the database via spatie/laravel-settings.

Install
php artisan boost:add-skill jeffersongoncalves/laravel-tawk-to

Save this content to: .claude/skills/tawk-to-development/SKILL.md

# Laravel Tawk.to Development

## When to use this skill

- Adding Tawk.to to a Laravel / Blade app
- Changing the Tawk.to settings at runtime (admin panel, seeder, tinker)
- Debugging why the Tawk.to script doesn't show up

## Setup

```bash
composer require jeffersongoncalves/laravel-tawk-to
php artisan vendor:publish --tag=tawk-to-settings-migrations
php artisan migrate
```

```blade
@include('tawk-to::script')
```

```php
$settings = tawk_to_settings();
$settings->property_id = '0123456789abcdef01234567';
$settings->widget_id = 'default';
$settings->save();
```

## Settings

| Setting | Type | Default |
|---------|------|---------|
| `property_id` | `?string` | `null` |
| `widget_id` | `string` | `'default'` |
| `identify_users` | `bool` | `false` |
| `only_when_open` | `bool` | `false` |

## Troubleshooting

- **No script in the HTML**: the settings are incomplete or invalid — check `tawk_to_settings()->isConfigured()`.
- **Settings not found**: run the settings migration (`php artisan migrate` after publishing).
- **Filament panel**: use `jeffersongoncalves/filament-tawk-to`, which injects the same view into panels and adds a settings page.

Laravel Tawk.to Development

When to use this skill

  • Adding Tawk.to to a Laravel / Blade app
  • Changing the Tawk.to settings at runtime (admin panel, seeder, tinker)
  • Debugging why the Tawk.to script doesn't show up

Setup

composer require jeffersongoncalves/laravel-tawk-to
php artisan vendor:publish --tag=tawk-to-settings-migrations
php artisan migrate
@include('tawk-to::script')
$settings = tawk_to_settings();
$settings->property_id = '0123456789abcdef01234567';
$settings->widget_id = 'default';
$settings->save();

Settings

Setting Type Default
property_id ?string null
widget_id string 'default'
identify_users bool false
only_when_open bool false

Troubleshooting

  • No script in the HTML: the settings are incomplete or invalid — check tawk_to_settings()->isConfigured().
  • Settings not found: run the settings migration (php artisan migrate after publishing).
  • Filament panel: use jeffersongoncalves/filament-tawk-to, which injects the same view into panels and adds a settings page.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc
animalyoung/laravel-influxdb
onix-solutions/sms-telera
lonely-lights/prosetta
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log