Here is an example in code: Route::get('/api/posts/{post}', function(Post $post) { return $post; }); What this does is behind the scenes call Post::findOrFail($post) and injects it into the $post variable. For the seasoned Laravel developers, this is similar to the existing ...