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
v1.1.3
  • Add CLI control to ServiceProvider
  • Auto register Facade on ServiceProvider
v1.1.2
  • Add extra control to "Convert to array"
  • Remove blade facede, use "blade.compiler" service container
  • Add .gitattributes, .editorconfig files
  • Small improvements
v1.1.1
  • Move config folder outside src directory
  • Change config name to config.php
  • Service provider optimizations
v1.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
v1.0.7
  • Modify README, change installation directives
  • Add laravel 5.3 support to composer.json
v1.0.6
  • Modify README, remove comma from composer.json part
  • Fix wrong ServiceProvider name on README
v1.0.5
  • Modify README
  • Fix description on composer.json
  • Change require section on composer.json
  • Change method sequence on ServiceProvider file
v1.0.4
  • Add custom class name to helper function
v1.0.3
  • Modify README, add real life usage
  • Test on laravel 5.2 and add laravel 5.2 badge
v1.0.2
  • Change helper function active_class() to active_route()
v1.0.1
  • Modify README
v1.0.0
  • Initial release
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.
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
ecotone/kafka
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata