how-to-pass-variable-to-controller-using-route-in-laravel Questions › how-to-pass-variable-to-controller-using-route-in-laravel 0 Vote Up Vote Down anuj asked 3 weeks ago Email * Name * Sign me up for the newsletter! 1 Answers 0 Vote Up Vote Down Staple answered 3 weeks ago Below is the code:- Route::get(\'{post}\’, array(\’as\’ => \’post\’, \’uses\’ => \’PostController@index\’)) ->where(\’post\’, \’main\’); Email * Name * Sign me up for the newsletter! Your Answer Your Email Your Name Public Only Me & Admin