Laravel and Vue: Creating a Portfolio website with a CRUD admin panel — Chapter 18
Handling Contact Form & Email Errors
Published in
9 min readFeb 17, 2020
Contact Form’s Laravel Validation
For our email to be successful, we need:
- Sender
- Valid Sender Email
- textContent/htmlContent
We can create a form request and require these in the rules function.
php artisan make:request ContactFormRequest