Install on Laravel websites
Add the Provixchat chat widget to your Laravel Blade layout or Vite-powered application cleanly.
Last updated Nov 19, 2026
4 min read
Add the snippet to your main Blade layout
- 1 Open your primary public or customer Blade layout (for example, resources/views/layouts/app.blade.php).
- 2 Add the Provixchat script right before </body>. You can optionally store your Widget ID in config/services.php and .env.
- 3 If your app uses Livewire wire:navigate, keep the script outside swapped containers or inside the persistent body shell.
Laravel Blade snippet with env/config
@if (config('services.provixchat.widget_id'))
<script src="https://provixchat.com/widget.js" data-widget-id="{{ config('services.provixchat.widget_id') }}" async></script>
@endif
Still need help? Contact Support
Our support team replies in under 2 hours during business hours.