bafs/illuminate-demacroable

The Demacroable package, to remove monkey patching from your codebase.
31,513 4
Install
composer require bafs/illuminate-demacroable
Latest Version:v1.0.0
PHP:^8.0
License:MIT
Last Updated:Jun 2, 2022
Links: GitHub  ·  Packagist
Maintainer: BafS

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

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

637,827,751 9,703
laravel/framework

The Laravel Framework.

589,172,971 34,950
laravel/tinker

Powerful REPL for the Laravel framework.

498,216,183 7,442
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

413,412,504 609
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

391,429,217 4,660