Download the PHP package pschocke/laravel-feedback-modal without Composer
On this page you can find all versions of the php package pschocke/laravel-feedback-modal. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pschocke/laravel-feedback-modal
More information about pschocke/laravel-feedback-modal
Files in pschocke/laravel-feedback-modal
Package laravel-feedback-modal
Short Description A Laravel Livewire component to get feedback from website visitors
License MIT
Homepage https://github.com/pschocke/laravel-feedback-modal
Informations about the package laravel-feedback-modal
A Laravel Livewire component to get feedback from website visitors
Add a feedback form to your TALL stack application to collect feedback from your visitors.
Demo

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:
You can publish and run the migrations with:
This package comes with translation files. You can publish them using:
You should publish the livewire component using:
Customization
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:
Changing the style
After publishing the livewire component, you can edit it in any way you want.
Usage
Just include the laravel livewire component:
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
You can get the submitted feedback using the eloquent model provided with this package:
Adding fields to the Feedback Model
You can add more fields to the model simply by adding them to the migration.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Patrick Schocke
- All Contributors
License
The MIT License (MIT). Please see License File for more information.