Created
July 9, 2020 20:12
-
-
Save minthemiddle/bc264ce93badf0b62b1a6b45eec92a9f to your computer and use it in GitHub Desktop.
Markdium-Laravel Forms 101
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// routes/web.php | |
validate([ | |
'fullname' => 'required|alpha|min:3', | |
]); | |
return 'Submission allowed'; | |
})->name('form.submit'); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment