Laravel – How to chain model binding with where in route
If I have route like this. Route::get('/users/{user}/posts/{post}', function (User $user, Post $post) { return $post; }); Then If User id 1 has Post id 1,2,3 and User id 2 has Post id 4,5,6. How to make Post that bind in…