Package Data | |
---|---|
Maintainer Username: | letrunghieu |
Maintainer Contact: | letrunghieu.cse09@gmail.com (Hieu Le) |
Package Create Date: | 2014-03-11 |
Package Last Update: | 2023-01-30 |
Home Page: | https://www.hieule.info/tag/laravel-active/ |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2023-05-28 03:05:34 |
Package Statistics | |
---|---|
Total Downloads: | 1,356,798 |
Monthly Downloads: | 6,479 |
Daily Downloads: | 48 |
Total Stars: | 417 |
Total Watchers: | 10 |
Total Forks: | 70 |
Total Open Issues: | 3 |
The helper class for Laravel applications (both L4 and L5) to get active class base on current url.
This README file is written for the new 3.x
version of this package, which is compatible with the Laravel 5 only.
1.x
versions.2.x
version of this package, you can give a try with the 3.x
version (whose API is changed totally) or continue with the 2.x
version.Require this package as your dependencies:
composer require hieu-le/active
Append this line to your providers
array in config/app.php
HieuLe\Active\ActiveServiceProvider::class,
Append this line to your aliases
array in config/app.php
'Active' => HieuLe\Active\Facades\Active::class,
See: How to use Active
if_*
functions to be string or array