---
title: "Discussion on \"Styling active route menu item in laravel\" | Hashnode"
description: "Discussion on \"Styling active route menu item in laravel\". You can check if the current route is active just with\nrequest()->routeIs('admin.cities')\n\nOr even sub-routes (like editing, creating, or whatever with\nrequest()->routeIs('admin.cities*')\n\nIf you prefer to use the route facade, you still can do that ..."
url: "https://hashnode.com/posts/styling-active-route-menu-item-in-laravel/628313c7504da209d8556ccd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Styling active route menu item in laravel](https://blog.manojbhatta.com.np/styling-active-route-menu-item-in-laravel?utm_source=hashnode&utm_medium=feed)

You can check if the current route is active just with request()->routeIs('admin.cities') Or even sub-routes (like editing, creating, or whatever with request()->routeIs('admin.cities\*') If you prefer to use the route facade, you still can do that ...

May 17, 2022 · 1 min read · blog.manojbhatta.com.np  
Updated Jul 2, 2023  
Read the article

-   [#laravel](https://hashnode.com/tag/laravel)

## Written by

[James Bhatta](https://hashnode.com/@jamesbhatta)

@jamesbhatta

  
[View profile](https://hashnode.com/@jamesbhatta)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
