Lessons:21Length:2.7 hours
  • Overview
  • Transcript

4.1 Setting Up a Laravel Form

Creating and populating forms can be cumbersome to code. Laravel’s Form class helps you create and populate forms quickly and efficiently. This is a great help when you’re building an admin panel, for example. In this lesson we’ll look at how to set up a form, set the route for a form to post to, specify a form to use a PUT or DELETE HTTP request, and populate a form using form model binding.

Note: The Form builder class lives in vendor/laravel/framework/src/Illuminate/Html/FormBuilder.php.