jtelesforoantonio/laravel-contact-form

Contact form for laravel

Downloads

51

Stars

0

Version

v1.0.0

Laravel Contact Form

Total Downloads License

This package is a simple contact form for laravel >=5.5, the form use Bootstrap 4.

Installation

Install the package with Composer.

composer require jtelesforoantonio/laravel-contact-form

Laravel 5.5 uses Package Auto Discovery and you don't need to add the Service Provider manually.

Usage

Once installed you need to run the migration command to create the table(contact_messages) where the messages will be saved.

php artisan migrate

If you want to send a email notification of the contact message you need to publish the config file(contact_form).

php artisan vendor:publish --tag=laravel-contact-form-config

You can modify the HTML form template used.

php artisan vendor:publish --tag=laravel-contact-form-views

Also you can to change the translation of the contact form.

php artisan vendor:publish --tag=laravel-contact-form-translations

Call the contact route where you want.

<a href="{{ route('contact') }}">Contact Us</a>
jtelesforoantonio

Author

jtelesforoantonio