adrianmerk/laravelactive

The helper class for Laravel applications to get active class base on current route for Laravel 11
10,280
Install
composer require adrianmerk/laravelactive
Latest Version:1.0.3
PHP:^8.0
License:MIT
Last Updated:Mar 10, 2025
Links: GitHub  ·  Packagist
Maintainer: adrianmer

Fork of Active for Laravel 12

Build Status Latest Stable Version Code Climate Test Coverage Total Downloads License

[!CAUTION] This repository is not maintained any more. Please feel free to fork it and make it compatible to new versions of Laravel.

The helper class for Laravel applications to get active class base on current url.

Since version 7.0, the major version of this library will match the major version of Laravel.

Laravel version Active library version
>= 7.x 1.0

Installation

Require this package as your dependencies:

composer require adrianmer/laravelactive

If you are using Laravel 5.5+, you do not need to manually register the ServiceProvider and Alias.

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,

Usage

See: How to use Active

Changelog:

  • 1.0.3 support Laravel 12

Related Packages

ibrand/laravel-active

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

16,660 3
summerblue/laravel-active

The helper class for Laravel (4/5) applications to get active class base on curr...

11,256 4
sebastienheyd/active

Helper class for Laravel to get the active class based on the current route

20,288 0
watson/active

Laravel helper for recognising the current route, controller and action

3,952,042 324
krgupta/active

The helper class for Laravel 6 applications to get active class base on current...

9,382 3

Version History

Version Released PHP Laravel License
1.0.3 ^8.0 ^9.0|^10.0|^11.0|^12.0 MIT
1.0.2 ^8.0 ^8.0|^9.0|^10.0|^11.0 MIT
v1.0.1 ^8.0 ^8.0|^9.0|^10.0|^11.0 MIT
v1.0.0 ^8.0 ^8.0|^9.0 MIT