PHPackages                             irsyadulibad/laravel-activehelper - 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. [Templating &amp; Views](/categories/templating)
4. /
5. irsyadulibad/laravel-activehelper

ActiveProject[Templating &amp; Views](/categories/templating)

irsyadulibad/laravel-activehelper
=================================

Active State Helper for Laravel Blade

0.0.1(3y ago)51.2k2[1 issues](https://github.com/irsyadulibad/laravel-activehelper/issues)[1 PRs](https://github.com/irsyadulibad/laravel-activehelper/pulls)MITPHP

Since Nov 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/irsyadulibad/laravel-activehelper)[ Packagist](https://packagist.org/packages/irsyadulibad/laravel-activehelper)[ RSS](/packages/irsyadulibad-laravel-activehelper/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

laravel-activehelper
====================

[](#laravel-activehelper)

Active State Helper for Laravel Blade

> Lightweight and simple

[![GitHub](https://camo.githubusercontent.com/a8813d3773354ab4e2640824026a390f5fa4909a90beb8eb0b96f43383efcedb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f697273796164756c696261642f6c61726176656c2d61637469766568656c706572)](https://camo.githubusercontent.com/a8813d3773354ab4e2640824026a390f5fa4909a90beb8eb0b96f43383efcedb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f697273796164756c696261642f6c61726176656c2d61637469766568656c706572)[![GitHub repo size](https://camo.githubusercontent.com/3b64e472bdb4b39b013a3953ed4d2cb06b34c9ee137a6180eebb3fd3953ccddf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f697273796164756c696261642f6c61726176656c2d61637469766568656c7065723f6c6162656c3d73697a65)](https://camo.githubusercontent.com/3b64e472bdb4b39b013a3953ed4d2cb06b34c9ee137a6180eebb3fd3953ccddf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f697273796164756c696261642f6c61726176656c2d61637469766568656c7065723f6c6162656c3d73697a65)[![Hits](https://camo.githubusercontent.com/d58dea876c557bf66ce3af4b6ebd942eb7a0de4b29e0b87a572f86ddcb3036d5/68747470733a2f2f686974732e736565796f756661726d2e636f6d2f6170692f636f756e742f696e63722f62616467652e7376673f75726c3d697273796164756c696261642f6c61726176656c2d61637469766568656c706572)](https://camo.githubusercontent.com/d58dea876c557bf66ce3af4b6ebd942eb7a0de4b29e0b87a572f86ddcb3036d5/68747470733a2f2f686974732e736565796f756661726d2e636f6d2f6170692f636f756e742f696e63722f62616467652e7376673f75726c3d697273796164756c696261642f6c61726176656c2d61637469766568656c706572)

Introduction
------------

[](#introduction)

Basically we do like this.

```
Post
Page
```

It would be nice if we can make shorter. right ?

```
Post
Page
```

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

[](#installation)

Installation is best done via [composer](https://getcomposer.org):

```
composer require irsyadulibad/laravel-activehelper

```

Add the service provider in `config/app.php`

```
'providers' => [
  .....,
  Irsyadulibad\LaravelActivehelper\ActiveHelperServiceProvider::class,
]
```

Usage
-----

[](#usage)

It will check the name of the currently active route. If match, it will return active string

```
Post
```

### Nested State

[](#nested-state)

You can also do it on nested navbar items,in some case you need to grouping the item by category or model name

```

  User

      List Users

      Add User

```

### More States

[](#more-states)

To check for more than one match states, you can add comma to the parameter

```
@active('user.index,post.create')
```

Author's Profile:
-----------------

[](#authors-profile)

Github: \[\]
Website: \[\]
Facebook: \[\]

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1243d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/41dacd29bc302ae2ff96cc32fe91f40af2915ecfbfae7aac63409d13d8fcaf1c?d=identicon)[irsyadulibad](/maintainers/irsyadulibad)

---

Top Contributors

[![irsyadulibad](https://avatars.githubusercontent.com/u/47577443?v=4)](https://github.com/irsyadulibad "irsyadulibad (7 commits)")

---

Tags

laravelbladeactiveactive state

### Embed Badge

![Health badge](/badges/irsyadulibad-laravel-activehelper/health.svg)

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

###  Alternatives

[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.3k449.3k30](/packages/tightenco-jigsaw)[robsontenorio/mary

Gorgeous UI components for Livewire powered by daisyUI and Tailwind

1.5k531.0k21](/packages/robsontenorio-mary)[moonshine/moonshine

Laravel administration panel

1.3k239.9k76](/packages/moonshine-moonshine)[hasinhayder/tyro-dashboard

Tyro Dashboard - Beautiful admin dashboard for managing Tyro roles, privileges, users, and settings

5452.7k](/packages/hasinhayder-tyro-dashboard)[technikermathe/blade-lucide-icons

A package to easily make use of Lucide icons in your Laravel Blade views.

18379.7k9](/packages/technikermathe-blade-lucide-icons)[secondnetwork/blade-tabler-icons

A package to easily make use of tabler-icons in your Laravel Blade views.

36594.8k24](/packages/secondnetwork-blade-tabler-icons)

PHPackages © 2026

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