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

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

arcanedev/laravel-active
========================

A Laravel helper to detect if the current route/path is active.

5.0.0(4y ago)41.9k1MITPHPPHP ^8.0CI failing

Since Jun 25Pushed 4y ago1 watchersCompare

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

READMEChangelog (10)Dependencies (4)Versions (27)Used By (1)

LaravelActive [![Packagist License](https://camo.githubusercontent.com/aa3d2ee30920a3b9893c2695a27e10583b9bec40585a06d255e569d792f694d2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f617263616e656465762f6c61726176656c2d6163746976652e7376673f7374796c653d666c61742d737175617265)](LICENSE.md) [![For Laravel](https://camo.githubusercontent.com/71bc18b8ca97c3acabada5dd4529ae7603b9582f391ed2b2f1d14cb4f830d225/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d352e34253230746f253230392e782d6f72616e67652e7376673f7374796c653d666c61742d737175617265)](https://github.com/ARCANEDEV/LaravelActive)
===========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#laravelactive--)

[![Github Workflow Status](https://camo.githubusercontent.com/72776d45c162f4d3e328cf5160bac60f487c1a7ee5cdb3f4ed2015a1c2af2ff6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f415243414e454445562f4c61726176656c4163746976652f72756e2d74657374733f7374796c653d666c61742d737175617265)](https://github.com/ARCANEDEV/LaravelActive/actions)[![Coverage Status](https://camo.githubusercontent.com/7a9a33405b8dfb0b62d1bb5ed31ac40996d07ade0e87627953f875812d3f8794/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f415243414e454445562f4c61726176656c4163746976652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ARCANEDEV/LaravelActive/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/b86007f1a292716ea5b978160df9c61c241bffa7ea79aa2ecf5a7be26f829123/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f415243414e454445562f4c61726176656c4163746976652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ARCANEDEV/LaravelActive/?branch=master)[![SensioLabs Insight](https://camo.githubusercontent.com/8def40768877e46c28fe764cef8496623e428de5b536a29762146d4bc8b21f19/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f61646338393463302d636639312d343538332d616163622d3663336361393464313231612e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/adc894c0-cf91-4583-aacb-6c3ca94d121a)[![Github Issues](https://camo.githubusercontent.com/476f14e22cb7521594013316f415d1d62e8836629f81c6be9feee0983745b962/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f415243414e454445562f4c61726176656c4163746976652e7376673f7374796c653d666c61742d737175617265)](https://github.com/ARCANEDEV/LaravelActive/issues)

[![Packagist](https://camo.githubusercontent.com/0a088762c49e418c8e7eca6e360b71adefafde7572a723e1105230f5cf24f75d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b6167652d617263616e656465762f6c61726176656c2d2d6163746976652d626c75652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arcanedev/laravel-active)[![Packagist Release](https://camo.githubusercontent.com/0b5ff9cce83c08db095c1442a3c724c0e1dc804573e450d0a17445ce33cee9d5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617263616e656465762f6c61726176656c2d6163746976652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arcanedev/laravel-active)[![Packagist Downloads](https://camo.githubusercontent.com/140c3f71dd6a77d25fc4ca915efea3c403d709c726951bf1591c277213cf1143/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f617263616e656465762f6c61726176656c2d6163746976652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arcanedev/laravel-active)

*By [ARCANEDEV©](http://www.arcanedev.net/)*

A Laravel helper to detect if the current route is active.

Official documentation for LaravelActive can be found at the [\_docs folder](_docs/1-Installation-and-Setup.md).

Feel free to check out the [releases](https://github.com/ARCANEDEV/LaravelActive/releases), [license](LICENSE.md), and [contribution guidelines](CONTRIBUTING.md).

Features
--------

[](#features)

- Laravel `5.4` to `9.x` are supported.
- Well tested (100% code coverage with maximum code quality).
- Well documented &amp; IDE Friendly.
- Made with ❤️ &amp; ☕.

Table of contents
-----------------

[](#table-of-contents)

1. [Installation and Setup](_docs/1-Installation-and-Setup.md)
2. [Configuration](_docs/2-Configuration.md)
3. [Usage](_docs/3-Usage.md)

Contribution
------------

[](#contribution)

Any ideas are welcome. Feel free to submit any issues or pull requests, please check the [contribution guidelines](CONTRIBUTING.md).

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [ARCANEDEV](https://github.com/arcanedev-maroc)
- [All Contributors](https://github.com/ARCANEDEV/LaravelActive/graphs/contributors)

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity78

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

Recently: every ~130 days

Total

25

Last Release

1557d ago

Major Versions

1.3.3 → 2.0.02019-09-05

v2.x-dev → 3.0.02020-03-07

v3.x-dev → 4.0.02020-09-09

v4.x-dev → 5.0.02022-02-11

PHP version history (9 changes)1.0.0PHP &gt;=5.6

1.1.0PHP &gt;=7.0

1.2.0PHP &gt;=7.1.3

2.0.0PHP &gt;=7.2.0

v2.x-devPHP ^7.2.0

3.0.0PHP ^7.2.5

4.0.0PHP ^7.3

4.0.1PHP ^7.3|^8.0

5.0.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9376707?v=4)[ARCANEDEV](/maintainers/arcanedev)[@ARCANEDEV](https://github.com/ARCANEDEV)

---

Top Contributors

[![arcanedev-maroc](https://avatars.githubusercontent.com/u/3282340?v=4)](https://github.com/arcanedev-maroc "arcanedev-maroc (42 commits)")

---

Tags

activearcanedevlaravelphprouteurlurllaravelarcanesoftrouteactivearcanedev

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[arcanedev/support

ARCANEDEV Support Helpers

1888.2M78](/packages/arcanedev-support)[illuminatech/url-trailing-slash

Allows enforcing URL routes with or without trailing slash

50216.9k](/packages/illuminatech-url-trailing-slash)[laracrafts/laravel-url-shortener

Powerful URL shortening tools in Laravel

97110.7k](/packages/laracrafts-laravel-url-shortener)[arcanedev/gravatar

A library providing easy gravatar integration/generation (Laravel supported).

1986.8k](/packages/arcanedev-gravatar)[amendozaaguiar/filament-route-statistics

Filament route statictics viewer

3225.0k1](/packages/amendozaaguiar-filament-route-statistics)[proai/lumen-annotations

Route and event binding annotations for Laravel Lumen

1012.4k](/packages/proai-lumen-annotations)

PHPackages © 2026

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