https://github.com/bafs/demacroable
This package replace the official illuminate/macroable package with an empty trait.
https://github.com/bafs/demacroable
illuminate laravel
Last synced: about 1 year ago
JSON representation
This package replace the official illuminate/macroable package with an empty trait.
- Host: GitHub
- URL: https://github.com/bafs/demacroable
- Owner: BafS
- Created: 2022-06-02T20:09:38.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-02T20:42:55.000Z (about 4 years ago)
- Last Synced: 2025-04-10T22:45:10.371Z (about 1 year ago)
- Topics: illuminate, laravel
- Language: PHP
- Homepage: https://packagist.org/packages/bafs/illuminate-demacroable
- Size: 0 Bytes
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Demacroable
Illuminate components often depends on the "[macroable](https://github.com/illuminate/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
```