You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Route::get('/posts/{postId}',function($postId){
//Request Params$param = request('param');
returnview('post',['id' => $postId]);
});
/*In Controller show function receive url and request params as received in above route function*/
Route::get('/posts/{postId}','PostController@show');
Layout Extending (PHP Include Alternate with more features)
1. brew install php (latest one)
2. brew link php@version_number (Else later cause Laravel Valet install error)
3. add php new path
4. check path updated with the latest installed php (command: which php)