kilrizzy/active-menu

Laravel link helper to detect if menu item is currently active
108 2
Install
composer require kilrizzy/active-menu
PHP:>=5.3.0
License:MIT
Last Updated:Feb 23, 2016
Links: GitHub  ·  Packagist
Maintainer: kilrizzy

Active Menu

Laravel link helper to detect if menu item is currently active

#Usage

<li class="{{ ActiveMenu::check(['customer']) }}"><a href="{{ url('customer') }}">Customers</a></li>

Which results in

<li class="active"><a href="{{ url('customer') }}">Customers</a></li>

Related Packages

kilrizzy/component

Laravel component helper provide common html objects

8 0
cybercog/laravel-optimus

An Optimus bridge for Laravel. Id obfuscation based on Knuth's multiplicative ha...

581,936 193
shivella/laravel-bitly

Laravel package for generating bitly url

878,265 74
hieu-le/laravel-menu

Help to build menus easier in Laravel applications

2,897 9
marcelgwerder/laravel-api-handler

Package providing helper functions for a Laravel REST-API

93,857 155