mrgoodbytes8667/test-twitch-faker
A testing helper for Laravel apps that fakes Twitch API responses, letting you swap real HTTP calls for predictable fixtures so your tests run fast and offline. Mock streams, users, and webhook payloads without ever hitting the live Twitch API.
Http::fake() blocks: this pushes toward consistent, reviewable fixtures and reduces duplicated mock plumbing across squads.0.0.x) dev-only dependency, it informs decisions about pinning, vendor risk tolerance, and whether test infrastructure may depend on an immature package.Adopt when:
0.0.x version and reviewing diffs before bumping.Look elsewhere when:
0.0.x signals an unstable public API that may change without notice.Http::fake() plus a handful of JSON fixtures is cheaper than a dependency.Release-specific note (v0.0.7): The published notes contain only a diff link with no described changes — no new features, breaking changes, or deprecations are declared. This reads as routine maintenance. Given the absence of any prior assessment and no substantive release documentation, this is a baseline assessment: verify the actual diff, confirm the package's test/fixture coverage and last-commit cadence, and re-evaluate before treating it as a long-term test dependency.
Executives: A small, dev-only testing tool for our Twitch integration. It costs nothing, ships nothing to production, and shortens the feedback loop on Twitch-dependent features by letting engineers test against realistic responses without live API calls. Risk is low but non-zero: it is an early-stage (0.0.x), single-maintainer dependency, so we pin the version and can replace it with a few dozen lines of test fixtures if it stalls.
Engineering: Use it strictly as a require-dev dependency, pinned to an exact version. Keep tests written against Twitch's HTTP contract (endpoints, payload shapes, status codes), not against this package's internals, so ripping it out later is a mechanical swap to Http::fake(). The v0.0.7 release carries no changelog detail, so review the diff before bumping — assume pre-1.0 APIs can shift. Do not introduce it into production code paths, and do not let fixture coverage become the only thing standing between us and a live-API integration test.
How can I help you explore Laravel packages today?