In this tutorial learn how to call controller from URL using route/web.php or call index function of controller from route, In Laravel its easy to create controller and view file but its understand to how to call controller from url, so, here routes/web.php files play the role between url and controller to access controller's method/function from url.
Let's go with the example using controller name is category
1. Create controller in Controllers case sensitive name so, create like a example given example :CategoryController.php
//controller path<project_name>/app/Http/Controllers/<controller_name.php>