mykholy/laravel-failurelab
FailureLab is a Laravel toolkit for simulating and testing failure scenarios, letting you inject exceptions, timeouts, and error conditions to harden your application's resilience and recovery paths before real failures happen.
Assessment basis: v1.2.0 release notes, cumulatively with v1.1.0 notes. No repository metadata, composer constraints, changelog history, or usage data has been supplied. Findings remain provisional pending provenance and API review; this update supersedes the v1.1.0-only assessment.
Architecture fit
Scenario/Replay public APIs), a test-only idempotent fake capture provider, a synthetic unknown-response/reconciliation scenario, and negative controls.Integration feasibility
Scenario/Replay APIs remain backward compatible, so this reads as additive on the consumer surface.Scenario/Replay APIs rather than only through queue fakes. Whether these wrap job middleware, a queue fake extension, or an event listener is still unconfirmed.require constraint, and it leaves Laravel 10/11 support unresolved.Technical risk
Key questions
Scenario/Replay public API actually do — job middleware, queue fake extension, event listener, or wrapper?Stack fit
Migration path
Scenario/Replay claim. Run the full suite, expect no new failures, then selectively adopt the fake capture provider and unknown-response scenario in the highest-risk jobs.Compatibility
Scenario/Replay APIs are stated backward compatible. Laravel 12 and 13 are exercised in CI for the database-queue recovery path. SQLite, MySQL, and PostgreSQL remain the documented idempotency matrix.Sequencing
require-dev dependency on a branch; verify no production autoload or service-provider impact.Maintenance
Support
Scaling
Failure modes
Ramp-up
How can I help you explore Laravel packages today?