Form Model Binding in Laravel 5 with FormBuilder

Here’s an example of how to use form-model binding with FormBuilder.

{!! Form::model($user, ['route' => ['users.update', $user->id], 'method' => 'PATCH']) !!}

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.