Skip to content

Instantly share code, notes, and snippets.

@minthemiddle
Created July 9, 2020 20:12
Show Gist options
  • Save minthemiddle/bc264ce93badf0b62b1a6b45eec92a9f to your computer and use it in GitHub Desktop.
Save minthemiddle/bc264ce93badf0b62b1a6b45eec92a9f to your computer and use it in GitHub Desktop.
Markdium-Laravel Forms 101
// 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