Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Active Menu Laravel Package

juy/active-menu

Laravel helper to add an “active” CSS class based on the current route name. Supports exact, wildcard, and multiple route patterns via facade, container, or helper, plus a Blade directive. Configurable active class value.

View on GitHub
Deep Wiki
Context7
1.1.3
  • Add CLI control to ServiceProvider
  • Auto register Facade on ServiceProvider
1.1.2
  • Add extra control to "Convert to array"
  • Remove blade facede, use "blade.compiler" service container
  • Add .gitattributes, .editorconfig files
  • Small improvements
1.1.1
  • Move config folder outside src directory
  • Change config name to config.php
  • Service provider optimizations
1.1.0
  • Change $this->currentRoute to $this->currentRouteName
  • Remove compareDotArrays() completely and use laravel str_is()
  • Change function param $route to $routePattern
  • Move active class css name to a config file
  • Add custom blade directive @ifActiveRoute
1.0.7
  • Modify README, change installation directives
  • Add laravel 5.3 support to composer.json
1.0.6
  • Modify README, remove comma from composer.json part
  • Fix wrong ServiceProvider name on README
1.0.5
  • Modify README
  • Fix description on composer.json
  • Change require section on composer.json
  • Change method sequence on ServiceProvider file
1.0.4
  • Add custom class name to helper function
1.0.3
  • Modify README, add real life usage
  • Test on laravel 5.2 and add laravel 5.2 badge
1.0.2
  • Change helper function active_class() to active_route()
1.0.1
1.0.0
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed