dg/bypass-finals
DG\BypassFinals lets you bypass PHP’s final classes and methods at runtime so you can mock, extend, or patch code that’s otherwise locked down—useful for testing legacy dependencies. Lightweight, Composer-ready, and works with popular test frameworks.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| adriansuter/php-autoload-override | 0.84 | Override PHP autoloading to take control of how classes are resolved. php-autoload-override lets you hook into Composer’s autoloader to swap, alias, or redirect class loading—useful for debugging, testing, and patching vendor code without forks. | 21 | 22 | 3 | 3K | 0 | 22.4 | 35.1 | MIT | 1 year ago | |
| graham-campbell/phpspec-skip-example-extension | 0.81 | PhpSpec extension that lets you skip spec examples via simple annotations. Add @require ClassOrInterface to skip all examples in a spec when a dependency isn’t available. Install with Composer and enable in phpspec.yml. | 0 | 0 | 0 | 221 | 0 | 20.9 | 38.1 | MIT | 4 years ago | |
| endroid/quality | 0.80 | Quality-related helper package by Endroid for PHP/Laravel apps, providing small utilities for enforcing or improving code/data quality in your project. Suitable as a lightweight dependency when you need simple quality checks or supporting components. | 3 | 3 | 1 | 173 | 0 | 0.0 | 22.7 | — | — | |
| pds/skeleton | 0.80 | PDS standard defining a common filesystem skeleton for PHP packages. Specifies required root directories (src, tests, docs, config, bin, public, resources) and key root files (README, LICENSE, CHANGELOG, CONTRIBUTING), plus validation/generation tools. | 2,415 | 2,422 | 166 | 3K | 5 | 40.2 | 8.1 | CC-BY-SA-4.0 | 9 years ago | |
| nunomaduro/mock-final-classes | 0.78 | Dev-only helper that automatically enables mocking of final classes and methods in PHP tests. Works with PHPUnit, Pest, and ParaTest by removing final keywords on the fly via dg/bypass-finals—install with Composer and it just works. | 113 | 113 | 5 | 43K | 0 | 21.1 | 41.9 | MIT | 2 years ago |
How can I help you explore Laravel packages today?