nunomaduro/mock-final-classes
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| dg/bypass-finals | 0.84 | 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. | 571 | 572 | 34 | 885K | 2 | 27.9 | 51.7 | NOASSERTION | 5 days ago | |
| revolt/event-loop-adapter-react | 0.60 | Run ReactPHP libraries on the Revolt event loop. This adapter lets you pass React\EventLoop\Loop::get() where a LoopInterface is required, automatically bridging ReactPHP components to Revolt for a single, unified loop. | 18 | 17 | 1 | 9K | 0 | 1.0 | 37.0 | MIT | 2 years ago | |
| knplabs/knp-snappy | 0.60 | Snappy is a PHP wrapper for wkhtmltopdf/wkhtmltoimage to generate PDFs, thumbnails, and snapshots from URLs or HTML. Supports Linux/macOS/Windows, configurable binaries and options, and integrates with Symfony and Laravel via community bundles. | 4,469 | 4,540 | 434 | 1M | 6 | 67.3 | 46.8 | MIT | 3 weeks ago | |
| behat/behat | 0.59 | Behat is a PHP BDD framework for testing business expectations with executable specifications. Install via Composer and run scenarios from the CLI. Ideal for acceptance and behavior-driven tests, with strong docs and semantic versioning. | 3,956 | 4,001 | 614 | 2M | 48 | 77.4 | 60.9 | MIT | 1 month ago | |
| code-lts/doctum | 0.58 | Doctum for Laravel: generate versioned API documentation for your PHP codebase with a clean, searchable HTML output. Supports configuration, theming, and multi-version docs, making it easy to publish and maintain docs for packages and applications. | 353 | 356 | 43 | 2K | 12 | 26.2 | 17.9 | MIT | 4 months ago | |
| omines/datatables-bundle | 0.58 | — | 283 | 286 | 118 | 25K | 3 | 35.3 | 33.8 | MIT | 4 days ago | |
| laminas/laminas-code | 0.57 | Generate, analyze, and manipulate PHP code with Laminas Code. Provides reflection utilities, code generators, docblock parsing, and class/file generation helpers for building frameworks, tooling, and meta-programming workflows. | 1,911 | 1,915 | 90 | 4M | 21 | 35.9 | 57.3 | BSD-3-Clause | 7 months ago |
How can I help you explore Laravel packages today?