Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Test Twitch Faker Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for Twitch integration testing. This package targets the "fake the Twitch API" layer rather than the runtime client layer. It supports the decision to not build and maintain an in-house Twitch fixture/mocking library, and to not burn Twitch API quota or rely on live sandbox accounts in CI.
  • Roadmap sequencing for streamer-facing features. If the roadmap includes alerts, subscriptions, channel point redemptions, clips, chat, or EventSub webhook handling, realistic fakes let those features be developed and regression-tested before the live integration is stable.
  • Test strategy standardization. A shared fake library vs. per-team Http::fake() blocks: this pushes toward consistent, reviewable fixtures and reduces duplicated mock plumbing across squads.
  • Release-gating and risk posture. Because it is a pre-1.0 (0.0.x) dev-only dependency, it informs decisions about pinning, vendor risk tolerance, and whether test infrastructure may depend on an immature package.
  • Scope decisions on edge cases. Fakes let you cheaply decide product behavior for Twitch edge cases (expired tokens, 429 rate limits, revoked authorizations, duplicate webhook deliveries) instead of discovering them in production.

When to Consider This Package

Adopt when:

  • You are on Laravel and already integrate Twitch (Helix API, OAuth token exchange, or EventSub webhooks) in application code.
  • Your tests currently hand-roll HTTP fakes or hit the real Twitch API, and fixtures drift or slow the suite.
  • You want dev-only test tooling with no production footprint and no vendor cost.
  • Your team accepts pinning an exact 0.0.x version and reviewing diffs before bumping.

Look elsewhere when:

  • You need a runtime Twitch client — use a maintained API SDK, not a faker.
  • You require stable semantic versioning or long-term support guarantees; 0.0.x signals an unstable public API that may change without notice.
  • Your integration is thin enough that Laravel's Http::fake() plus a handful of JSON fixtures is cheaper than a dependency.
  • Release notes and maintenance signals stay thin (see below) — treat abandonment as a likely outcome for narrow single-author packages and keep an exit path.

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.

How to Pitch It (Stakeholders)

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels