A package to present feedback dialog on pages so users can send feedback. LaraFeed also captures page's screenshot and saves that too which can be useful especially when debugging what was user experiencing when they sent a feedback.
- PHP >= 7
- Laravel 5.7+ | 6
Install via composer
composer require sarfraznawaz2005/larafeed
Publish package's config file by running below command:
php artisan vendor:publish --provider="Sarfraznawaz2005\LaraFeed\ServiceProvider"
It should publish config/larafeed.php
config file and migration file.
Now run php artisan migrate
to create larafeeds
database table.
Put @include('larafeed::view')
in your blade layout file.
That's it, Feedback button should now be visible on pages of your application.
Checkout config file for different options.
When user presses Send Feedback button, existing page's screenshot will automatically be captured and saved ofcourse without that feedback dialog.
After you have published package assets, you can add custom fields by modifying file resources/views/vendor/larafeed/view.blade.php
and create a migration to add fields to larafeeds
table.
- You can listen to
Sarfraznawaz2005\LaraFeed\Events\FeedbackReceivedEvent::class
event if need to use captured feedback in your own way.
If you discover any security related issues, please email sarfraznawaz2005@gmail.com instead of using the issue tracker.
Please see the license file for more information.