DEV Community

Cover image for Learning Route in Laravel
sahlowle
sahlowle

Posted on • Edited on

Learning Route in Laravel

Routes

Laravel has it’s own route mapping system and it also provides some helpful tools to help us organize our routes. I’ll discuss some proper techniques and how we use them in our app. Here’s is the basic format for our route.

Alt Text

Basic example

Route::get('/', function()
{
    return 'Hello Laravel~~';
});
Enter fullscreen mode Exit fullscreen mode

In our browser, we should see ‘Hello Laravel~~’

Top comments (0)