laravel-contact-form maintained by sandervanhooft
Description
A simple contact form for Laravel.
Author
Last update
2018/04/11 17:54
(dev-master)
License
Downloads
40
Simple Laravel Contact Form
This package brings you a basic drop-in contact form solution.
Features
- A contact form available at url “/contact”.
- The default form is Bootstrap 3 based.
- The name, E-mail and message field are required.
- Sends a receipt confirmation with a copy of the message to the receiver address and to the submitter’s address
- You can override the default url in the config file.
- Uses the default application mail from address and from name for notifications, allows this to be overridden in the config file.
- You can publish the form’s views (including the mail template).
Installation
composer require sandervanhooft/laravel-contact-form
Optional: alter configuration (route, from-mail-address).
php artisan vendor:publish “SanderVanHooft\ContactForm\ServiceProvider” —tag=config
Publishing the form’s views
php artisan vendor:publish “SanderVanHooft\ContactForm\ServiceProvider” —tag=views
Create your first Laravel package
This package is part of the Laravel package development from scratch course. You can join for free here.