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
crisp-development
jeffersongoncalves/laravel-crisp
claude-code
chat
laravel
live-chat
crisp
laravel-crisp
customer-support
chat-widget
jeffersongoncalves
spatie-laravel-settings

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

Install
php artisan boost:add-skill jeffersongoncalves/laravel-crisp

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

# Laravel Crisp Development

## When to use this skill

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

## Setup

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

```blade
@include('crisp::script')
```

```php
$settings = crisp_settings();
$settings->website_id = '3f2b8c1e-7a4d-4e5f-9b6a-1c2d3e4f5a6b';
$settings->save();
```

## Settings

| Setting | Type | Default |
|---------|------|---------|
| `website_id` | `?string` | `null` |
| `identify_users` | `bool` | `false` |
| `only_when_open` | `bool` | `false` |

## Troubleshooting

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

Laravel Crisp Development

When to use this skill

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

Setup

composer require jeffersongoncalves/laravel-crisp
php artisan vendor:publish --tag=crisp-settings-migrations
php artisan migrate
@include('crisp::script')
$settings = crisp_settings();
$settings->website_id = '3f2b8c1e-7a4d-4e5f-9b6a-1c2d3e4f5a6b';
$settings->save();

Settings

Setting Type Default
website_id ?string null
identify_users bool false
only_when_open bool false

Troubleshooting

  • No script in the HTML: the settings are incomplete or invalid — check crisp_settings()->isConfigured().
  • Settings not found: run the settings migration (php artisan migrate after publishing).
  • Filament panel: use jeffersongoncalves/filament-crisp, 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.
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support