Coder Social home page Coder Social logo

sarfraznawaz2005 / larafeed Goto Github PK

View Code? Open in Web Editor NEW
41.0 3.0 3.0 85 KB

Laravel package for providing visual feedback via screenshots.

License: MIT License

PHP 89.79% CSS 3.30% Blade 6.91%
laravel laravel-package feedback customer customerengagement customer-support screenshot

larafeed's Introduction

Software License Latest Version on Packagist Total Downloads

LaraFeed

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.

Requirements

  • PHP >= 7
  • Laravel 5.7+ | 6

Installation

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.


Screenshot

When user presses Send Feedback button, existing page's screenshot will automatically be captured and saved ofcourse without that feedback dialog.

Main Window

Adding Custom Fields

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.

Misc

  • You can listen to Sarfraznawaz2005\LaraFeed\Events\FeedbackReceivedEvent::class event if need to use captured feedback in your own way.

Security

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

Credits

License

Please see the license file for more information.

larafeed's People

Contributors

sarfraznawaz2005 avatar sarfrazonsupport avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

larafeed's Issues

Support for Laravel 9?

I get this error. Thanks

  Problem 1
    - Root composer.json requires sarfraznawaz2005/larafeed ^2.1 -> satisfiable by sarfraznawaz2005/larafeed[2.1.0].
    - sarfraznawaz2005/larafeed 2.1.0 requires illuminate/support ~5|~6|~7|~8 -> found illuminate/support[v5.0.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.

Any way to prevent spam?

Is it possible to add a Google captcha checkbox or a 5 + 12 = ? math problem?

Just something simple to prevent bots from submitting?

Record User-Agent

Sometimes user's issue is related to browser version or OS.

I think it'll be nice to record the User-Agent of the browser along with IP, screenshot and URL.

I can make a PR if it's welcome.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.