Registry / web-framework / hieu-le-active

hieu-le-active

JSON →
library9.0.0phppackagistunverified

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

composer require hieu-le/active
INSTALL
IMPORT
SIG · HIEU-LE-ACTIVE
H
hieu-le-active
web-frameworkphpv9.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Active
use HieuLe\Active\Active;

Check if current route matches 'home' and return 'active' class

use HieuLe\Active\Active; $active = new Active(); echo $active->route('home', 'active');
Debug
Known issues

No known issues recorded.

Upgrade
Version history
9.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Resources
hieu-le-active — pip install hieu-le-active · libregistry