Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sandervanhooft/laravel-contact-form
A simple contact form for Laravel
https://github.com/sandervanhooft/laravel-contact-form
contact-form laravel php7
Last synced: about 17 hours ago
JSON representation
A simple contact form for Laravel
- Host: GitHub
- URL: https://github.com/sandervanhooft/laravel-contact-form
- Owner: sandervanhooft
- Created: 2018-04-11T15:15:09.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-04-11T15:55:12.000Z (over 6 years ago)
- Last Synced: 2024-04-21T18:31:34.558Z (7 months ago)
- Topics: contact-form, laravel, php7
- Language: PHP
- Homepage: https://go.sandervanhooft.com/courses/laravel-package-dev-from-scratch
- Size: 9.77 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://go.sandervanhooft.com/courses/laravel-package-dev-from-scratch).