PHPackages                             laugharn/macros - 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. laugharn/macros

ActiveLibrary

laugharn/macros
===============

Collection macros for Laravel

110PHP

Since Jun 13Pushed 9y ago1 watchersCompare

[ Source](https://github.com/laugharn/macros)[ Packagist](https://packagist.org/packages/laugharn/macros)[ RSS](/packages/laugharn-macros/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Macros
------

[](#macros)

Extends Laravel with some helpful macros.

### Installation

[](#installation)

Require it with Composer:

```
    composer require laugharn/macros
```

Macros comes with a handful of service providers you can add to the `config/app.php` providers array:

For Builder macros:

```
    Laugharn\Macros\BuilderServiceProvider::class
```

For Collection macros:

```
    Laugharn\Macros\CollectionServiceProvider::class
```

For Request macros:

```
    Laugharn\Macros\RequestServiceProvider::class
```

No need for additional configuration, you're good to go.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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/a1bd9a1ee832195a036b72eaa691ed4f6c50d1d80eb787e68c51d7e119a8ed76?d=identicon)[laugharn](/maintainers/laugharn)

### Embed Badge

![Health badge](/badges/laugharn-macros/health.svg)

```
[![Health](https://phpackages.com/badges/laugharn-macros/health.svg)](https://phpackages.com/packages/laugharn-macros)
```

PHPackages © 2026

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