BafS / Demacroable

This package replace the official illuminate/macroable package with an empty trait.

Home Page:https://packagist.org/packages/bafs/illuminate-demacroable

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demacroable

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

About

This package replace the official illuminate/macroable package with an empty trait.

https://packagist.org/packages/bafs/illuminate-demacroable


Languages

Language:PHP 100.0%