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!
The idea about global site messages Messages here are something you want to show to users to tell them about the result of some actions. For example, after pressing the login button, a sentence appears in the new page to tell users that they have been logged in or there are any errors. In my … Continue reading Laravel (v4, v5) global site message system
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
Recently, when answer this question on stackoverflow, I found that old way of cross-platform mouse wheel event detection have failed on new version of Firefox and Chrome. After some study on MDN, I have begun to write a new jQuery plugin to support the mouse wheel event call jMouseWheel. You can get the full source … Continue reading Handle mouse wheel event with jQuery jMouseWheel plugin