sandervanhooft / laravel-contact-form
A simple contact form for Laravel.
Installs: 40
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/sandervanhooft/laravel-contact-form
Requires
- php: ~7.0
- illuminate/support: ^5.6
This package is auto-updated.
Last update: 2025-10-06 12:08:43 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.