What is routing in laravel 5 and how we can use it?



What is routing in laravel 5 and how we can use it?..

Answer / Lalitram

Routing in Laravel 5 is a system for handling URLs. It maps incoming requests to the appropriate controller and action.nnTo define routes, you can modify the `routes/web.php` file or use route service provider classes.nHere's an example:n```phpnRoute::get('/', function () {n return view('welcome');n});```

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Laravel PHP Framework Interview Questions

How can someone change the default database type in laravel?

1 Answers  


How will you explain events in laravel?

1 Answers  


What are route parameters?

1 Answers  


What are macros in laravel?

1 Answers  


What are string and array helpers functions in laravel?

1 Answers  


Tell me how to use select query in laravel?

1 Answers  


How secure is laravel?

1 Answers  


What is redirect routes?

1 Answers  


What is meant by url in internet?

1 Answers  


What is helper in laravel?

1 Answers  


What is laravel scout?

1 Answers  


What is make method?

1 Answers  


Categories