bafs/illuminate-demacroable

The Demacroable package, to remove monkey patching from your codebase.
31,010 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

erirk/paypalpayment

laravel-paypalpayment is simple package help you process direct credit card paym...

0
gabrieloliverio/laravel5-generators

Database metadata-based generators for Laravel 5

1
doctrine/dbal

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

628,058,007 9,707
laravel/framework

The Laravel Framework.

576,155,700 34,907
laravel/tinker

Powerful REPL for the Laravel framework.

485,678,092 7,440