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. [Utility &amp; Helpers](/categories/utility)
4. /
5. laugharn/macros

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

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

Collection macros for Laravel

110PHP

Since Jun 13Pushed 10y ago1 watchersCompare

[ Source](https://github.com/laugharn/macros)[ Packagist](https://packagist.org/packages/laugharn/macros)[ RSS](/packages/laugharn-macros/feed)WikiDiscussions master Synced 4w 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 13% 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://avatars.githubusercontent.com/u/1186188?v=4)[Dan Laugharn](/maintainers/laugharn)[@laugharn](https://github.com/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)
```

###  Alternatives

[javadev/moneytostr-russian

The tool to convert amount to words in Ukrainian/English/Russian languages

411.2k](/packages/javadev-moneytostr-russian)

PHPackages © 2026

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