sandervanhooft / laravel-contact-form
A simple contact form for Laravel.
dev-master
2018-04-11 15:54 UTC
Requires
- php: ~7.0
- illuminate/support: ^5.6
This package is auto-updated.
Last update: 2024-12-06 10:10:45 UTC
README
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.