compact vs with laravel code example Example: compact laravel return View::make('myviewfolder.myview', compact('view1','view2','view3'));