spatie/laravel-support-form
Add a non-intrusive Tailwind-styled support chat bubble to any Laravel page. Opens a support form, auto-fills user info when logged in, includes URL/IP metadata, honeypot spam protection, and is easily customizable via views, translations, and events.
spatie/laravel-support-bubble and spatie/laravel-honeypot for spam protection). Integration is straightforward via Composer and a single SupportBubbleServiceProvider.support_bubbles table, compatible with Laravel’s default migrations. Custom storage (e.g., external APIs) requires minimal event listener overrides.@include('support-bubble::bubble')), with optional JavaScript for dynamic behavior (e.g., auto-hide after submission).spatie/laravel-honeypot for spam protection. TPMs must validate if this meets their security needs or supplement with additional measures (e.g., CAPTCHA).php artisan vendor:publish --tag=support-bubble-assets).@include directive required. Custom views can replace defaults.composer require spatie/laravel-support-bubble
php artisan vendor:publish --tag=support-bubble-config
php artisan vendor:publish --tag=support-bubble-assets
php artisan migrate
SUPPORT_BUBBLE_VISIBLE in .env to control visibility (e.g., true for all pages, or route-based logic).config/support-bubble.php for:
spatie/laravel-honeypot).Submitted, Validating, or Storing events for custom logic (e.g., logging, API calls).
Example:
// app/Listeners/SupportBubbleSubmitted.php
public function handle(Submitted $event) {
// Send Slack alert or update CRM
}
resources/views/vendor/support-bubble.resources/lang/vendor/support-bubble.spatie/laravel-honeypot: Ensure no conflicts with existing spam protection (e.g., reCAPTCHA).spatie/laravel-honeypot is a minor dependency. Update alongside the main package..env or config files to avoid hardcoding.SUPPORT_BUBBLE_VISIBLE and route middleware.storage/logs/laravel.log).config/support-bubble.php).// config/support-bubble.php
'queue' => true,
How can I help you explore Laravel packages today?