weirdan/prophecy-shim
Lightweight shim around Prophecy for PHPUnit, helping keep legacy Prophecy-based tests running on newer PHPUnit/Laravel stacks. Provides compatibility glue with minimal changes so you can upgrade tooling without rewriting your mocks.
The package serves as a minimal compatibility layer for Prophecy-based mocks in legacy systems but carries significant technical risks. Its architecture is designed for short-term bridging rather than long-term use, but the lack of updates since 2020 (PHP 8.0+ compatibility unverified) and near-zero adoption (1 star) indicate abandonment. Integration feasibility is low for modern stacks due to potential conflicts with current PHPUnit versions (9+/10+) and Composer 2+ workflows. Key questions include:
createMock)?This package should only be considered for critical legacy codebases where immediate migration from Prophecy is infeasible. Installation via Composer is trivial but serves as a temporary stopgap, not a sustainable solution. For stack fit: it may work in PHP
How can I help you explore Laravel packages today?