timgreenwood/laravel-active

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

Maintainers

Package info

github.com/timgreenwood/laravel-active

Homepage

pkg:composer/timgreenwood/laravel-active

Statistics

Installs: 380

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v10.0.2 2023-02-15 17:34 UTC

This package is auto-updated.

Last update: 2026-02-15 23:51:15 UTC


README

CircleCI Latest Stable Version Total Downloads License

The helper class for Laravel applications to get active class.

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

Laravel version Active library version
10.x 10.x
9.x 9.x

Installation

Require this package as your dependencies:

composer require timgreenwood/laravel-active

Append this line to your aliases array in config/app.php

'Active' => TimGreenwood\Active\Facades\Active::class,

Changelog:

  • v10.0.0 : support Laravel 10
  • v9.0.0 : support Laravel 9