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.
Consider it when:
Look elsewhere when:
spatie/laravel-twitter-style packages or a first-party wrapper.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.
How can I help you explore Laravel packages today?