bafs/illuminate-demacroable

The Demacroable package, to remove monkey patching from your codebase.

v1.0.0 2022-06-02 20:40 UTC

This package is auto-updated.

Last update: 2024-11-30 01:36:50 UTC


README

Illuminate components often depends on the "macroable" (aka Monkey patching) package. This package replace the official illuminate/macroable package with an empty trait.

This package makes the macroable trait empty and removes the possibility to monkey patch some illuminate components (using the Macroable trait) at runtime, forcing end users to compose (or inherit) with illuminate components in production or use mocking for tests.

! Use at your own risk

Install

composer req bafs/illuminate-demacroable