PHPackages                             timgreenwood/laravel-active - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. timgreenwood/laravel-active

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

timgreenwood/laravel-active
===========================

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

v10.0.2(3y ago)03801MITPHPPHP ^8.0|^8.1

Since Feb 23Pushed 3y ago1 watchersCompare

[ Source](https://github.com/timgreenwood/laravel-active)[ Packagist](https://packagist.org/packages/timgreenwood/laravel-active)[ Docs](https://www.timgreenwood.co.uk)[ RSS](/packages/timgreenwood-laravel-active/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (5)Used By (0)

Laravel Active
==============

[](#laravel-active)

[![CircleCI](https://camo.githubusercontent.com/3443ca49fbff296c8e626dcdd86ad9aaec1bf19dbd0d80477f321d3cb61a8286/68747470733a2f2f636972636c6563692e636f6d2f67682f74696d677265656e776f6f642f6c61726176656c2d6163746976652f747265652f6d61696e2e7376673f7374796c653d736869656c64)](https://circleci.com/gh/timgreenwood/laravel-active/tree/main)[![Latest Stable Version](https://camo.githubusercontent.com/59a1c36d742c77591a223715f8f4a363aa04414f66ead9bca16e5149f52bad1b/68747470733a2f2f706f7365722e707567782e6f72672f74696d677265656e776f6f642f6c61726176656c2d6163746976652f762f737461626c652e737667)](https://packagist.org/packages/timgreenwood/laravel-active)[![Total Downloads](https://camo.githubusercontent.com/782c63a935ce92810321f575807272c80488bb1ea98d8f8a0d64756b55ed6476/68747470733a2f2f706f7365722e707567782e6f72672f74696d677265656e776f6f642f6c61726176656c2d6163746976652f646f776e6c6f6164732e737667)](https://packagist.org/packages/timgreenwood/laravel-active)[![License](https://camo.githubusercontent.com/a7d7bcc8e28c10e6569732d67477f436c8e6ce1ab08315570e2d6190908ae948/68747470733a2f2f706f7365722e707567782e6f72672f74696d677265656e776f6f642f6c61726176656c2d6163746976652f6c6963656e73652e737667)](https://packagist.org/packages/timgreenwood/laravel-active)

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 versionActive library version10.x10.x9.x9.xInstallation
------------

[](#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:
----------

[](#changelog)

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

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~119 days

Total

4

Last Release

1183d ago

Major Versions

v9.0.0 → v10.0.02023-02-15

PHP version history (3 changes)v9.0.0PHP ^8.0

v10.0.0PHP ^8.1

v10.0.1PHP ^8.0|^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/a211fbffdf28f8518b98c0db6cf4e8983ec5772bcd503fab701dc1e64592b2fb?d=identicon)[timgreenwood](/maintainers/timgreenwood)

---

Top Contributors

[![timgreenwood](https://avatars.githubusercontent.com/u/514451?v=4)](https://github.com/timgreenwood "timgreenwood (17 commits)")

---

Tags

laravelroutingactive

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/timgreenwood-laravel-active/health.svg)

```
[![Health](https://phpackages.com/badges/timgreenwood-laravel-active/health.svg)](https://phpackages.com/packages/timgreenwood-laravel-active)
```

###  Alternatives

[watson/active

Laravel helper for recognising the current route, controller and action

3253.6M14](/packages/watson-active)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
