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

ActiveLibrary

devfactory/macros
=================

Laravel package

3.0.0(3y ago)0310MITPHPPHP &gt;=7.2

Since Mar 1Pushed 3y ago2 watchersCompare

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

READMEChangelog (2)Dependencies (2)Versions (12)Used By (0)

DevFactory - Macros
===================

[](#devfactory---macros)

Installation in Laravel
-----------------------

[](#installation-in-laravel)

You can pull in the package via composer (Laravel 6+):

```
composer require devfactory/macros
```

You can pull in the package via composer (Laravel 5):

```
composer require devfactory/macros:^1.0
```

Then register the service provider and Facade by opening `app/config/app.php`

```
Devfactory\Macros\MacrosServiceProvider::class,
```

You must publish the config file:

```
php artisan vendor:publish --provider="Devfactory\Macros\MacrosServiceProvider"
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 70.8% 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 ~158 days

Recently: every ~356 days

Total

11

Last Release

1410d ago

Major Versions

0.0.3 → 1.0.02018-05-03

1.0.4 → 2.0.02021-11-17

2.0.1 → 3.0.02022-07-05

PHP version history (2 changes)0.0.1PHP &gt;=5.4.0

2.0.0PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/51b27ef81332de9328fd9d6c4e10156c73c33e86bd63e337eae3bb4985a956ff?d=identicon)[devfactory](/maintainers/devfactory)

---

Top Contributors

[![gmarineau](https://avatars.githubusercontent.com/u/1737065?v=4)](https://github.com/gmarineau "gmarineau (17 commits)")[![markcameron](https://avatars.githubusercontent.com/u/1106894?v=4)](https://github.com/markcameron "markcameron (6 commits)")[![Madman1848](https://avatars.githubusercontent.com/u/33829566?v=4)](https://github.com/Madman1848 "Madman1848 (1 commits)")

---

Tags

laravelmacros

### Embed Badge

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

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

###  Alternatives

[werxe/laravel-collection-macros

Custom Laravel Collection macros.

2625.8k](/packages/werxe-laravel-collection-macros)

PHPackages © 2026

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