PHPackages                             irfanmomin/active\_laravel - 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. irfanmomin/active\_laravel

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

irfanmomin/active\_laravel
==========================

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

4.0(6y ago)010MITPHPPHP &gt;=7.2

Since Oct 11Pushed 1y agoCompare

[ Source](https://github.com/irfanmomin/active_laravel)[ Packagist](https://packagist.org/packages/irfanmomin/active_laravel)[ RSS](/packages/irfanmomin-active-laravel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (14)Used By (0)

Active for Laravel
==================

[](#active-for-laravel)

Library is based on

The helper class for Laravel applications (L4,L5 and L6) to get active class base on current url.

We are using this package in this repository () as core package.

This README file is written for the new `6.x` version of this package, which is compatible with the Laravel 6 only.

- If you are using Laravel 4, see the [`4.x` versions](https://github.com/krguptaa/active/tree/v2.x).
- If you are using Laravel 5, see the [`5.x` versions](https://github.com/krguptaa/active/tree/v3.x).

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

[](#installation)

Require this package as your dependencies:

```
composer require krgupta/active

```

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

```
Irfan\ActiveLaravel\Providers\ActiveServiceProvider::class,
```

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

```
'Active' => Irfan\ActiveLaravel\Facades\Active::class,
```

Contribute
==========

[](#contribute)

You can contribute to this project, by just taking fork of it. We are open for suggestion and PRs. If you have any new suggestions or anything for that matter, contact me at

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 79.5% 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 ~175 days

Recently: every ~438 days

Total

11

Last Release

656d ago

Major Versions

1.3 → v3.x-dev2019-10-15

v1.x-dev → 4.02019-10-15

4.0 → 5.0.x-dev2024-07-31

PHP version history (5 changes)1PHP ^7.2

1.3PHP &gt;=7.0

v2.x-devPHP &gt;=5.4.0

4.0PHP &gt;=7.2

5.0.x-devPHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/4c074938f1ff2e7c53f9f6e960595758aaed6e9eaa0e622ba9d095dfcbdb98ae?d=identicon)[irfanmomin](/maintainers/irfanmomin)

---

Top Contributors

[![krguptaa](https://avatars.githubusercontent.com/u/16936952?v=4)](https://github.com/krguptaa "krguptaa (31 commits)")[![irfanmomin](https://avatars.githubusercontent.com/u/6543265?v=4)](https://github.com/irfanmomin "irfanmomin (4 commits)")[![irfanmominmt](https://avatars.githubusercontent.com/u/112695126?v=4)](https://github.com/irfanmominmt "irfanmominmt (2 commits)")[![krgupta-cygnet](https://avatars.githubusercontent.com/u/42832188?v=4)](https://github.com/krgupta-cygnet "krgupta-cygnet (2 commits)")

---

Tags

laravelroutingactive

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  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)
