composer require cybersoft/contact
Then goto config/app.php file. Inside the providers array add Cybersoft\Contact\ContactServiceProvider::class,
Create database and connect to .env file.
Run the command php artisan migrate. You will find a new database table named 'contacts' with field name, email, phone & message
- Configure Mail on .env file to send mail
- Now to go '/contact' url to check the contact form
mdsharafat/cybersoft-contact-package
This package will send email to admin and save contact message to database
PHP