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 … Continue reading Laravel Active version 3 released!
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 … Continue reading Update my ‘active’ package to support Laravel 4.2
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 … Continue reading Use “active” class for current route in Laravel 4