PHPackages                             thanhtut/easy-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. thanhtut/easy-active

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

thanhtut/easy-active
====================

To provide the active class in html markup for laravel

16PHP

Since Nov 22Pushed 7y ago1 watchersCompare

[ Source](https://github.com/thanhtutoo/easy-active)[ Packagist](https://packagist.org/packages/thanhtut/easy-active)[ RSS](/packages/thanhtut-easy-active/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Easy Active Class for html markup in laravel
============================================

[](#easy-active-class-for-html-markup-in-laravel)

Active is a helper package for Laravel that makes it easy to provide the active class in html markup.

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

[](#installation)

Install with `composer`:

```
composer require thanhtut/easy-active dev-master

```

And add the service provider in config/app.php

```
'providers' => [
    ........,
    Thanhtut\EasyActive\EasyActiveServiceProvider::class,
]

```

```
'aliases' => [
    ........,
   'Active' => Thanhtut\EasyActive\Active::class,
]

```

Usage
-----

[](#usage)

```
{{Active::is_active('home')}} // http://localhost:8000/home

```

```
Home

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/thanhtut-easy-active/health.svg)

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

PHPackages © 2026

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