yevhenii / contact
Package has view, model, controller for contact form
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:composer-plugin
This package is auto-updated.
Last update: 2024-11-28 10:55:43 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() !!}