yevhenii / contact
Package has view, model, controller for contact form
Package info
github.com/zenia9012/contact-form-package
Type:composer-plugin
pkg:composer/yevhenii/contact
dev-master
2018-12-27 19:34 UTC
This package is auto-updated.
Last update: 2026-02-28 13:37:37 UTC
README
This package is just form with few fields.
Fields:
- name
- message
Features:
- send email for admin
- save user contact to database
Also you can easily add fields to form
Install
- In your terminal:
composer require yevhenii/contact
- Add to config/app.php provider
Yevhenii\Contact\ContactServiceProvider::class,
- Publish migration, config, views
php artisan vendor:publish --provider="Yevhenii\Contact\ContactServiceProvider"
php artisan migrate
Usage
Add this function to your blade wherever you need
{!! Yevhenii\Contact\Models\Contact::form() !!}