PHPackages                             bubbaops/macro-collection - 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. bubbaops/macro-collection

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

bubbaops/macro-collection
=========================

A collection of macros for Collections.

00[2 PRs](https://github.com/BubbaOps/macro-collection/pulls)PHP

Since Jul 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/BubbaOps/macro-collection)[ Packagist](https://packagist.org/packages/bubbaops/macro-collection)[ RSS](/packages/bubbaops-macro-collection/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

A collection of macros for Collections.
=======================================

[](#a-collection-of-macros-for-collections)

[![Latest Version on Packagist](https://camo.githubusercontent.com/54cd3d887da6a521b0d8ad4590289b2549155018145f8203f19d44b179cdcaad/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62756262616f70732f6d6163726f2d636f6c6c656374696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bubbaops/macro-collection)[![GitHub Tests Action Status](https://camo.githubusercontent.com/ac10c6f78c42fd8a398e45079bee875198dcc3ab42bc5861bb15dff8ed838a10/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f62756262616f70732f6d6163726f2d636f6c6c656374696f6e2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/bubbaops/macro-collection/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/4e8ab6753253b5ee6045079653eaa9fc320f689b6b6a1a7390a55a83f222bd7e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f62756262616f70732f6d6163726f2d636f6c6c656374696f6e2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/bubbaops/macro-collection/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/b21abf7602dee577340273410bcbfa268884e553c2186a9029d27b912598f970/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f62756262616f70732f6d6163726f2d636f6c6c656374696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bubbaops/macro-collection)

A collection of macros that we regularly use in development, gathered in one convenient spot.

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

[](#installation)

You can install the package via composer:

```
composer require bubbaops/macro-collection
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="macro-collection-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="macro-collection-config"
```

This is the contents of the published config file:

```
return [
];
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="macro-collection-views"
```

Usage
-----

[](#usage)

```
$macroCollection = new BubbaOps\MacroCollection();
echo $macroCollection->echoPhrase('Hello, BubbaOps!');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Credits
-------

[](#credits)

- [Bubba Hines](https://github.com/BubbaOps)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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/365d59992aecf758c04c609175003de6c24145021608f2c54fabbc8fd67a5588?d=identicon)[bubbaops](/maintainers/bubbaops)

---

Top Contributors

[![bubba-h57](https://avatars.githubusercontent.com/u/603630?v=4)](https://github.com/bubba-h57 "bubba-h57 (9 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (4 commits)")[![BubbaOps](https://avatars.githubusercontent.com/u/60058548?v=4)](https://github.com/BubbaOps "BubbaOps (1 commits)")

### Embed Badge

![Health badge](/badges/bubbaops-macro-collection/health.svg)

```
[![Health](https://phpackages.com/badges/bubbaops-macro-collection/health.svg)](https://phpackages.com/packages/bubbaops-macro-collection)
```

###  Alternatives

[watchowl/cake-scheduler

Cron Scheduler for CakePHP 3

115.4k](/packages/watchowl-cake-scheduler)

PHPackages © 2026

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