PHPackages                             pschocke/laravel-feedback-modal - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. pschocke/laravel-feedback-modal

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

pschocke/laravel-feedback-modal
===============================

A Laravel Livewire component to get feedback from website visitors

0.1(5y ago)93[1 issues](https://github.com/pschocke/laravel-feedback-modal/issues)MITHTMLPHP ^7.4

Since Sep 3Pushed 5y ago1 watchersCompare

[ Source](https://github.com/pschocke/laravel-feedback-modal)[ Packagist](https://packagist.org/packages/pschocke/laravel-feedback-modal)[ Docs](https://github.com/pschocke/laravel-feedback-modal)[ RSS](/packages/pschocke-laravel-feedback-modal/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (7)Versions (3)Used By (0)

A Laravel Livewire component to get feedback from website visitors
==================================================================

[](#a-laravel-livewire-component-to-get-feedback-from-website-visitors)

[![Latest Version on Packagist](https://camo.githubusercontent.com/dbff89ce447a3f8a442a91953c203de93e69fb4d8987351225317d6f8e3c1e87/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f707363686f636b652f6c61726176656c2d666565646261636b2d6d6f64616c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pschocke/laravel-feedback-modal)[![GitHub Tests Action Status](https://camo.githubusercontent.com/6a31bc0a853faa27f23ca801d9ed85647e64036c65657bd89952912eabd8c083/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f707363686f636b652f6c61726176656c2d666565646261636b2d6d6f64616c2f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/pschocke/laravel-feedback-modal/actions?query=workflow%3Arun-tests+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/42305dab471d359df0f24d3dd7f1fd87e3d7a708ba99eb54f423ec0ccb6ccf3a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f707363686f636b652f6c61726176656c2d666565646261636b2d6d6f64616c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pschocke/laravel-feedback-modal)

Add a feedback form to your TALL stack application to collect feedback from your visitors.

Demo
----

[](#demo)

[![Laravel Feedback in action](https://camo.githubusercontent.com/0ecfd97a2f1d2b52c4d30a6d3c5b4ca22e868fd85b35be4a5b792df5954ebfff/687474703a2f2f73746f726167652e61757362696c64756e672d6d732e64653a393030302f6f70656e2d736f757263652f6c61726176656c2d666565646261636b2e676966)](https://camo.githubusercontent.com/0ecfd97a2f1d2b52c4d30a6d3c5b4ca22e868fd85b35be4a5b792df5954ebfff/687474703a2f2f73746f726167652e61757362696c64756e672d6d732e64653a393030302f6f70656e2d736f757263652f6c61726176656c2d666565646261636b2e676966)

Installation
------------

[](#installation)

This package comes without any styles. It assumes you have the styles for tailwind, tailwindui and AlpineJs installed.

You can install the package via composer:

```
composer require pschocke/laravel-feedback-modal
```

You can publish and run the migrations with:

```
php artisan vendor:publish --provider="pschocke\FeedbackModal\FeedbackModalServiceProvider" --tag="migrations"
php artisan migrate
```

This package comes with translation files. You can publish them using:

```
php artisan vendor:publish --provider="pschocke\FeedbackModal\FeedbackModalServiceProvider" --tag="translations"
```

You should publish the livewire component using:

```
php artisan vendor:publish --provider="pschocke\FeedbackModal\FeedbackModalServiceProvider" --tag="views"
```

Customization
-------------

[](#customization)

### Changing the radio group items

[](#changing-the-radio-group-items)

You can customize the feedback-types that are available in the radio group by changing the corresponding array in your previously published translations:

```
return [
    //...,
    'feedback' => [
            'type' => 'Type of feedback',
            'types' => [
                // every array key is an option in the radio group. You can customize them however you want.
                'error' => [
                    'title' => 'i found a mistake',
                    'description' => 'You found a bug that you want to report to us'
                ],
            ]
        ],
];
```

### Changing the style

[](#changing-the-style)

After publishing the livewire component, you can edit it in any way you want.

Usage
-----

[](#usage)

Just include the laravel livewire component:

```

    ...
    @livewire('feedback-modal')

```

### Usage with purgecss

[](#usage-with-purgecss)

If you use purgecss to minify your css (I highly recommend you do!), you should publish the component to keep the classes used in the component from getting purged.

### Getting the submitted feedback

[](#getting-the-submitted-feedback)

You can get the submitted feedback using the eloquent model provided with this package:

```
$feedbacks = \pschocke\FeedbackModal\AnonymousFeedback::all();
```

### Adding fields to the Feedback Model

[](#adding-fields-to-the-feedback-model)

You can add more fields to the model simply by adding them to the migration.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Patrick Schocke](https://github.com/pschocke)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2077d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8cd89f9905a333779736ad73453f1cfc4c13bf89471e2427975aa43927bb1419?d=identicon)[pschocke](/maintainers/pschocke)

---

Top Contributors

[![pschocke](https://avatars.githubusercontent.com/u/26882621?v=4)](https://github.com/pschocke "pschocke (2 commits)")

---

Tags

laravellaravel-feedbacklaravel-livewirelaravel-feedback-modal

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/pschocke-laravel-feedback-modal/health.svg)

```
[![Health](https://phpackages.com/badges/pschocke-laravel-feedback-modal/health.svg)](https://phpackages.com/packages/pschocke-laravel-feedback-modal)
```

###  Alternatives

[livewire/flux

The official UI component library for Livewire.

9385.0M86](/packages/livewire-flux)[jantinnerezo/livewire-alert

This package provides a simple alert utilities for your livewire components.

8041.2M20](/packages/jantinnerezo-livewire-alert)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[kirschbaum-development/commentions

A package to allow you to create comments, tag users and more

12369.2k](/packages/kirschbaum-development-commentions)[revolution/self-ordering

Self Ordering System

2112.7k](/packages/revolution-self-ordering)[joelwmale/livewire-quill

Easily add QuillJS with image support to any Laravel Livewire component.

1314.0k](/packages/joelwmale-livewire-quill)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
