Not a member? Signup now
> with to pass data from the Controller to the blade template
View::make('blog')->with('posts', $posts);
> instead of using []
view("blog", ["posts" => $posts]);
> or compact method
view("blog", compact("posts"));