laravel view get variable controller code example Example: return view with variable laravel return View::make('blog')->with('posts', $posts);