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