Laravel contact us form package to send email and save to database
itsrafsanjani/contact is a Laravel package for laravel contact us form package to send email and save to database.
It currently has 1 GitHub stars and 6 downloads on Packagist (latest version 1.0.0).
Install it with composer require itsrafsanjani/contact.
Discover more Laravel packages by itsrafsanjani
or browse all Laravel packages to compare alternatives.
Last updated

A Laravel Package to create Contact Us Form Easily
Laravel 5.7+ Tested on Laravel 8
Run the following command:
composer require itsrafsanjani/contact
If you're installing on Laravel 5.5+ skip this step
ItsRafsanJani\Contact\ContactServiceProvider::class,
Run the following command:
php artisan migrate
.env FileAdd variable CONTACT_TO_MAIL to .env and then define the email to receive email
For example
CONTACT_TO_MAIL="[email protected]"
CONTACT_PHONE_REQUIRED=false
Finally you can access your contact page by access http://your-site.com/contact to show the result
If you want to create your own contact us page, you must follow below instructions:
{{ route('contact.submit') }}name="name"name="email"name="message"Don't forget to add
{{ csrf_field() }}
You can create the contact page with your own Route and/or Controller
If you found bugs or issues just write to Issues