PHPackages                             webnuvola/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. webnuvola/laravel-active

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

webnuvola/laravel-active
========================

Helper functions for Laravel applications to get active class based on current route

v1.3.0(2y ago)06.2kMITPHPPHP ^8.1

Since Sep 18Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Webnuvola/laravel-active)[ Packagist](https://packagist.org/packages/webnuvola/laravel-active)[ RSS](/packages/webnuvola-laravel-active/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (9)Dependencies (3)Versions (11)Used By (0)

Laravel active
==============

[](#laravel-active)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ad5c178a276a47ea6e4a25e248264e2d8f2cdcf47727141fec52a6d02f3697c3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7765626e75766f6c612f6c61726176656c2d6163746976652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/webnuvola/laravel-active)[![GitHub Tests Action Status](https://camo.githubusercontent.com/595d893dd304b7060f70be5cb18e24316036d7c7e8412028daa12f98c49dc6c9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f5765626e75766f6c612f6c61726176656c2d6163746976652f72756e2d74657374732e796d6c3f6272616e63683d6d61696e)](https://github.com/Webnuvola/laravel-active/actions/workflows/run-tests.yml?query=branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/90e9d5d35bf835e4ddce41cc1a4af7a290c1f2823195f67d2b6a61dae6b181be/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7765626e75766f6c612f6c61726176656c2d6163746976652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/webnuvola/laravel-active)

Helper class for Laravel applications to get active class based on current route.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require webnuvola/laravel-active
```

Testing
-------

[](#testing)

```
composer test
```

Credits
-------

[](#credits)

- [Fabio Cagliero](https://github.com/fab120)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity74

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 ~181 days

Recently: every ~112 days

Total

10

Last Release

845d ago

Major Versions

v0.4.0 → v1.0.02020-12-05

v0.5.0 → v1.2.02023-07-06

PHP version history (5 changes)v0.1.0PHP ^7.3

v1.0.0PHP ^8.0

v1.1.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0

0.x-devPHP ^7.3||^8.0

v1.3.0PHP ^8.1

### Community

Maintainers

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

---

Top Contributors

[![fab120](https://avatars.githubusercontent.com/u/293368?v=4)](https://github.com/fab120 "fab120 (19 commits)")

---

Tags

activecurrentlaravelmenularavelmenuactivecurrent

###  Code Quality

TestsPest

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[watson/active

Laravel helper for recognising the current route, controller and action

3263.7M14](/packages/watson-active)[vespakoen/menu

Managing menus the easy way.

27187.0k5](/packages/vespakoen-menu)[zidbih/laravel-deadlock

Make temporary Laravel workarounds expire and fail CI when ignored.

984.0k](/packages/zidbih-laravel-deadlock)

PHPackages © 2026

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