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

Twitter Stream Api Laravel Package

mineur/twitter-stream-api

Laravel package for consuming the Twitter/X streaming API with PHP. Connect to filtered streams, handle tweets as they arrive, and process them through Laravel-friendly events and callbacks.

Deep Wiki
Context7

Product Decisions This Supports

  • Roadmap: real-time vs. batch social ingestion. This package is a candidate building block for features that need low-latency X/Twitter data — keyword/hashtag monitoring, brand-mention alerts, live sentiment dashboards, event or launch-day listening, and content curation feeds. If the roadmap item can tolerate 5–15 minute polling, a streaming client like this is overkill.
  • Build vs. buy (vs. borrow). At 11 stars and an unknown repository, treat this as borrow/adapt, not buy. It can shorten a discovery spike by days, but the durable decision is whether to standardize on a thin, owned wrapper around the X API versus adopting a maintained third-party client.
  • Feature scoping for a social-listening MVP. A small MIT library lets you validate demand for filtered-stream ingestion — one connection, a keyword list, a queue — before committing to platform-tier costs or a vendor contract.
  • Architecture decisions. It forces the right questions early: where does the long-lived connection live (queue worker vs. dedicated daemon), how are reconnects and rate limits handled, and how do we normalize tweets into our own event schema so the vendor is swappable.
  • Use cases to evaluate against: marketing/social analytics, support triage on public mentions, competitive monitoring, and editorial trend detection. Each has different latency and compliance requirements.

When to Consider This Package

Consider it when:

  • You are prototyping in PHP/Laravel and need filtered-stream ingestion working in a day, not a sprint.
  • You have confirmed, paid X API access at a tier that still permits filtered streaming — this is now the dominant cost and the real gating factor, not the library.
  • You accept that you will read and likely vendor the source: expect no typed response objects, no Laravel service provider or config publishing, and unverified handling of backoff, reconnect, and auth refresh.
  • The MIT license and small surface area make a contained spike low-risk.

Look elsewhere when:

  • You need production SLAs. Low stars, an unreachable repository, and a low health score are supply-chain and maintenance red flags; abandonment is the base case.
  • Laravel-native ergonomics matter (config, facades, jobs, events) — prefer spatie/laravel-twitter-style packages or a first-party wrapper.
  • You need guaranteed parity with current X API auth and endpoint behavior — use the official SDK or a thin, owned Guzzle client you control.
  • Your actual need is search, not streaming: the recent-search endpoint plus polling is simpler, cheaper, and easier to test.
  • Compliance, retention, or audit requirements apply — enterprise listening vendors cover these; a hobby-scale library does not.

How to Pitch It (Stakeholders)

To executives: This is a free, MIT-licensed PHP component that can pull filtered X/Twitter posts in near real time. It is a prototyping accelerant, not a platform commitment. The real cost and risk sit with X's API access tiers, not this code, so approving a short, time-boxed spike costs almost nothing and de-risks a much larger roadmap bet on social listening.

To engineering: Small, single-purpose wrapper for the filtered stream. Assume minimal maintenance: no Laravel integration, thin documentation, unclear reconnect and rate-limit handling. Adopt behind our own ingestion interface so it is replaceable, add retries, backoff, and connection-health monitoring ourselves, and budget for tests we will have to write.

Recommendation: Approve a two-week spike to validate the use case and API access; do not greenlight it as a production dependency until we have either confirmed upstream maintenance or replaced it with an owned client.

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.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings