PHPackages                             atomastic/macroable - 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. atomastic/macroable

Abandoned → [glowy/macroable](/?search=glowy%2Fmacroable)Library[Utility &amp; Helpers](/categories/utility)

atomastic/macroable
===================

Macroable Component is a trait that, gives you the ability in effect to add new methods to a class at runtime.

v4.0.0(3y ago)77.1k1MITPHPPHP ^8.1

Since Dec 5Pushed 3y ago2 watchersCompare

[ Source](https://github.com/glowyphp/macroable)[ Packagist](https://packagist.org/packages/atomastic/macroable)[ RSS](/packages/atomastic-macroable/feed)WikiDiscussions 4.x Synced 1mo ago

READMEChangelog (6)Dependencies (4)Versions (8)Used By (1)

Macroable
=========

[](#macroable)

Macroable Package is a trait that, gives you the ability in effect to add new methods to a class at runtime.

[![License MIT](https://camo.githubusercontent.com/17330ae6dd024e9e53cb81394db7208fe224d218d58ffe321564ca52a38e0a92/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f6c6162656c3d4c6963656e7365)](https://camo.githubusercontent.com/17330ae6dd024e9e53cb81394db7208fe224d218d58ffe321564ca52a38e0a92/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f6c6162656c3d4c6963656e7365) [![Total downloads](https://camo.githubusercontent.com/62f1da72e309499412285816bd9ff8fdda453623f800a51a09fa0224aa8639be/68747470733a2f2f706f7365722e707567782e6f72672f676c6f77792f6d6163726f61626c652f646f776e6c6f616473)](https://packagist.org/packages/glowy/macroable) [![GitHub Repo stars](https://camo.githubusercontent.com/cc407bdca591d9ec9ca6e10794e5dca15f3aec32e1e2fa8b8316c1b6f492eb88/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f676c6f77797068702f6d6163726f61626c653f6c6162656c3d5374617273)](https://camo.githubusercontent.com/cc407bdca591d9ec9ca6e10794e5dca15f3aec32e1e2fa8b8316c1b6f492eb88/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f676c6f77797068702f6d6163726f61626c653f6c6162656c3d5374617273) [![GitHub forks](https://camo.githubusercontent.com/e761977e589ef474274d5ecf7c53f0d1058d052ea3a5f69692e1a6039cce462d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f676c6f77797068702f6d6163726f61626c653f6c6162656c3d466f726b73)](https://camo.githubusercontent.com/e761977e589ef474274d5ecf7c53f0d1058d052ea3a5f69692e1a6039cce462d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f676c6f77797068702f6d6163726f61626c653f6c6162656c3d466f726b73) [![Hits of Code](https://camo.githubusercontent.com/384c3cfcddeee1c26ce5e164e05f9d3c4ea1726e781fe64a0cc2c8be9aaf6997/68747470733a2f2f686974736f66636f64652e636f6d2f6769746875622f676c6f77797068702f6d6163726f61626c653f6272616e63683d342e78)](https://hitsofcode.com)

### Installation

[](#installation)

#### With [Composer](https://getcomposer.org)

[](#with-composer)

```
composer require glowy/macroable

```

### Resources

[](#resources)

- [Documentation](https://awilum.github.io/glowyphp/macroable)

### Tests

[](#tests)

Run tests

```
./vendor/bin/pest

```

### License

[](#license)

[The MIT License (MIT)](https://github.com/glowyphp/macroable/blob/master/LICENSE)Copyright (c) [Sergey Romanenko](https://github.com/Awilum)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 98.6% 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 ~112 days

Recently: every ~72 days

Total

7

Last Release

1317d ago

Major Versions

v1.0.0 → v2.0.02021-02-19

v2.0.0 → v3.0.12021-12-22

3.x-dev → v4.0.02022-07-02

PHP version history (3 changes)v1.0.0PHP ^7.3 || ^8.0

v2.0.0PHP ^7.4 || ^8.0

v4.0.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/477114?v=4)[Sergey Romanenko](/maintainers/Awilum)[@Awilum](https://github.com/Awilum)

---

Top Contributors

[![Awilum](https://avatars.githubusercontent.com/u/477114?v=4)](https://github.com/Awilum "Awilum (73 commits)")[![KarelWintersky](https://avatars.githubusercontent.com/u/2164874?v=4)](https://github.com/KarelWintersky "KarelWintersky (1 commits)")

---

Tags

glowyglowyphpmacroablepackagephpphp-packagephp8phpmacroableglowyglowyphp

###  Code Quality

TestsPest

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/atomastic-macroable/health.svg)

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

###  Alternatives

[glowy/strings

Strings Component provide a fluent, object-oriented interface for working with multibyte string, allowing you to chain multiple string operations together using a more readable syntax compared to traditional PHP strings functions.

183.4k2](/packages/glowy-strings)[glowy/arrays

Arrays Component provide a fluent, object-oriented interface for working with arrays, allowing you to chain multiple arrays operations together using a more readable syntax compared to traditional PHP arrays functions.

153.2k3](/packages/glowy-arrays)[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21421.6k](/packages/imanghafoori-laravel-anypass)

PHPackages © 2026

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