> For the complete documentation index, see [llms.txt](https://book.madhavjha.in/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.madhavjha.in/route.md).

# Route

```php
Route::view('welcome', '/welcome');    //Same File Name
```

```php
Route::get('/', function () {
    return view('user. Index');
});

```

## Route CMD

**php artisan route -h**

php artisan route:list --except-vendor    || This method show own rote&#x20;

## Laravel Name Routes&#x20;

````php
Route::get('/post-url', function(){
    return view('user.about');
})->name('post');    //

//Calling blade file mein

```blade
    <ul>
        <li><a href="{{route('post')}}">Post page</a></li>
    </ul>
```
````
