PHPackages                             magan/feedback - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. magan/feedback

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

magan/feedback
==============

This package helps to create quick contact-us form and send email to the admin.

1.0.1(2y ago)044MITPHPPHP &gt;=8.0

Since Mar 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/AsmitNepali/magan-feedback)[ Packagist](https://packagist.org/packages/magan/feedback)[ Docs](https://github.com/magan/feedback)[ RSS](/packages/magan-feedback/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Feedback
========

[](#feedback)

[![Latest Version on Packagist](https://camo.githubusercontent.com/96e576c71a50ad3e7fe409ba009d5c6d92f20994069bfa57f4360428408d8ccb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6167616e2f666565646261636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/magan/feedback)[![Total Downloads](https://camo.githubusercontent.com/e4ef4584fe5db7880994f260bc466f147494e69b2c2bea0fb4641f478c02e984/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6167616e2f666565646261636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/magan/feedback)[![Build Status](https://camo.githubusercontent.com/79f00df6b91c06606d2cf85bb9b3e0124f392b583d21062139a7d4fd833f0af6/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d6167616e2f666565646261636b2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/magan/feedback)[![StyleCI](https://camo.githubusercontent.com/cb13a877afd1dbe223c631789c3f922d3ace958fdb334a9cce9b26afefbc2ebd/68747470733a2f2f7374796c6563692e696f2f7265706f732f31323334353637382f736869656c64)](https://styleci.io/repos/12345678)

This package is a simple feedback form that uses google recaptcha to prevent spam. It sends an email to the address set in the .env file. This package helps to generate simple contact-us form with google recaptcha.

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

[](#installation)

Via Composer

```
composer require magan/feedback
```

Usage
-----

[](#usage)

Set up your google recaptcha keys inside your .env file.

```
GOOGLE_RECAPTCHA_SITE_KEY=YOUR_SITE_KEY
GOOGLE_RECAPTCHA_SECRET_KEY=YOUR_SECRET_KEY
```

Set up your mailing address.

```
MAIL_TO_ADDRESS="hello@example.com"
MAIL_FROM_ADDRESS="hello@example.com"

```

You can publish the config file with:

```
php artisan vendor:publish --provider="Magan\Feedback\FeedbackServiceProvider" --tag='feedback-config'
```

You can publish and edit the views with:

```
php artisan vendor:publish --provider="Magan\Feedback\FeedbackServiceProvider" --tag='feedback-views'
```

Publish config file content
---------------------------

[](#publish-config-file-content)

```
