bafs / illuminate-demacroable
The Demacroable package, to remove monkey patching from your codebase.
Installs: 17 747
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: ^8.0
Replaces
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