Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jhoyax/laravel-contact-form
Contact Form for Laravel
https://github.com/jhoyax/laravel-contact-form
laravel
Last synced: about 2 months ago
JSON representation
Contact Form for Laravel
- Host: GitHub
- URL: https://github.com/jhoyax/laravel-contact-form
- Owner: jhoyax
- Created: 2019-12-12T08:19:04.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-13T01:38:03.000Z (about 5 years ago)
- Last Synced: 2024-04-18T00:11:00.836Z (9 months ago)
- Topics: laravel
- Language: PHP
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel Contact Form
This package allows you to include contact form anywhere in views.
You can also add/edit fields in the table by overwriting the migration file and update validation rules in config file.## Installation
```
composer require jhoyax/laravel-contact-form
```Optional: Overwrite config, migrations, lang or views
```
php artisan vendor:publish --tag=contact_form_config
php artisan vendor:publish --tag=contact_form_migrations
php artisan vendor:publish --tag=contact_form_lang
php artisan vendor:publish --tag=contact_form_views
```## Configuration
Update contact form message receiver in your .env file.
```
[email protected]
```## Usage
Include the form.
```
@include('contact_form::default')
```