Posts tagged: Laravel Active

The helper class for Laravel 4 applications to get active class base on current route


Laravel Active version 3 released!

Laravel Active is rewritten with a absolutely new API andĀ  released with the new major version. This document explains the new API and gives some examples about its usage. Installation This version is compatible with the Laravel 5 only. Require it as one of your application dependencies via Composer: composer require hieu-le/active Add its service […]

Update my ‘active’ package to support Laravel 4.2

It’s about three months from my first release of hieu-le/active package. For someone does not know it, this package is created to allow developers display the active class easily based on the current route, controller, or, method of Laravel application. However, when the framework matures day by day, my package seems to be out of […]

Use “active” class for current route in Laravel 4

Updates: If you are using Laravel 5, read the documentation of the latest version instead. When working with Laravel 4 and Bootstrap framework, I usually need determineĀ  which menu item is currently “selected” and add the active class into that item. After installing the dwightwatson/active package and founding that that package does not fit my […]