FeedbackJar
Backend frameworks ✓ 2 minutes setup Easy

FeedbackJar + Laravel

FeedbackJar integrates with Laravel via a script tag in your Blade layout. Works with Blade, Livewire, and Inertia. No Composer package or build step required.

Get your Widget ID free → 7-day free trial · No credit card required

How to install FeedbackJar in Laravel

1

Get your Widget ID

bash
# Sign up at app.feedbackjar.com
# Create a widget → copy your Widget ID
2

Add to your Blade layout

html
{{-- resources/views/layouts/app.blade.php — before </body> --}}
<script src="https://cdn.feedbackjar.com/sdk.js"></script>
<script>
  window.fj.init('{{ config('services.feedbackjar.id') }}');
</script>
</body>
3

Register the config value

php
// config/services.php
'feedbackjar' => [
    'id' => env('FEEDBACKJAR_ID'),
],

Add FEEDBACKJAR_ID=your_widget_id to your .env file, then run php artisan config:clear.

4

Identify authenticated users (optional)

html
{{-- in your layout --}}
@auth
<script>
  window.fj.identify({
    id: '{{ auth()->id() }}',
    email: '{{ auth()->user()->email }}',
    firstName: '{{ auth()->user()->name }}',
  });
</script>
@endauth

For linked posts and portal login, generate an HMAC signature server-side — see the Auto-login docs.

What you get

  • Single script tag in your Blade layout
  • Widget ID via config/services.php and .env
  • Works with Blade, Livewire, and Inertia
  • Authenticated user identification with @auth
  • No Composer package or build step
  • Custom trigger from any button

Add feedback to your Laravel app today

Sign up free, grab your Widget ID, and have the feedback widget running in your Laravel app in 2 minutes.

Start Free Trial 7-day free trial · No credit card required

Frequently Asked Questions

Looking for the full technical reference? Read the Laravel docs →