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

Stream Laravel Laravel Package

get-stream/stream-laravel

Official Laravel integration for GetStream.io activity feeds. Add scalable news feeds, follow relationships, notification feeds, and real-time updates to Laravel apps with Eloquent model integration, a Stream facade, config publishing, and a Laravel notification channel.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

  • Architecture fit: This is a thin Laravel integration for the hosted GetStream.io activity-feed service, not a self-contained feed engine. It fits Laravel applications that need newsfeeds, activity feeds, follow graphs, or feed enrichment and are willing to depend on a SaaS provider. It is a poor fit where feed data must remain in-house, data residency is constrained, or the feed is a core differentiator requiring deep custom control.
  • Integration feasibility: Low initial effort: Composer install, publish config, set API credentials, define feed groups in Stream, and wire domain events/model changes to activity writes. The main engineering work is not the package call itself but feed modeling, authentication/token strategy, async write reliability, caching, and an internal abstraction so the Laravel facade does not leak across the codebase.
  • Technical risk: Moderate. The package is permissively licensed and reduces time-to-market, but the last release is 2023-03-16, stars are moderate, and zero dependents is a weak ecosystem signal. Compatibility with current Laravel/PHP and the current Stream PHP SDK must be proven. Vendor lock-in, pricing changes, API drift, rate limits, outage behavior, privacy/DPA terms, and data residency are material risks.
  • Key questions: Which Laravel/PHP versions and Stream PHP SDK versions are supported? Does the package expose the feed features we need: feed groups, follows, enrichment, ranking, notifications, moderation? What is the auth/token model and tenant isolation approach? What are Stream’s SLA, rate limits, retention, GDPR/DPA, and regional hosting options? What is the cost at expected MAU/activity volume? Can we mock/test without a live account? Who owns a fork if Laravel upgrades outpace package maintenance? What is the exit/backfill plan if we leave Stream?

Integration Approach

  • Stack fit: Fits standard Laravel service-container, config, queue, and event patterns. Use queued jobs for activity writes and feed fan-out triggers; use Redis/Horizon or the existing queue for retries and backpressure. Keep credentials in secret management, enforce outbound HTTPS allow-listing, and avoid synchronous Stream calls in user-facing request paths where possible.
  • Migration path: Start with a feature-flagged pilot and one feed group. Wrap the package behind an app-owned FeedService/repository interface so the application depends on our contract, not the vendor facade. If migrating from database-backed feeds, use shadow reads or dual-write, backfill historical activities, reconcile counts, then cut over reads after consistency checks. Retain a degraded fallback for vendor outages.
  • Compatibility: Pin the package, stream-php SDK, Laravel, and PHP versions. Run a compatibility spike against the target Laravel/PHP matrix and Stream sandbox before committing. If the package lags current Laravel or SDK releases, evaluate a maintained fork or direct SDK integration rather than forcing an outdated dependency.
  • Sequencing: 1) compatibility, security, and cost spike; 2) proof of concept with one feed group and token auth; 3) internal feed abstraction and config; 4) async write path with retries/dead-letter handling; 5) read path with caching and degradation; 6) load, failure, and security testing; 7) pilot with a limited user cohort; 8) staged rollout; 9) documented exit/backfill and vendor-review plan.

Operational Impact

  • Maintenance: Low code footprint but meaningful dependency maintenance. The package may need a fork or direct SDK migration as Laravel/PHP versions advance. Track package releases, SDK changes, Composer audits, Stream API changes, and credential rotation.
  • Support: Community package support plus vendor support from GetStream. Internally, assign ownership for integration health, queue lag, token issuance, vendor escalation, and cost monitoring. Define SLOs for feed freshness and availability, and agree on vendor support terms before production.
  • Scaling: Stream handles feed storage and fan-out at the vendor layer, but the application still owns write throughput, queue capacity, API rate-limit handling, payload size, caching hot feeds, and cost growth. Cost scales with user/activity volume, so model pricing before pilot and monitor per-feed and per-activity usage.
  • Failure modes: Stream outage or latency can degrade feed reads; queue backlog can delay activity publication; auth/token failures can block feed access; rate limiting can drop or delay writes; API/schema drift can break integration; misconfigured feed groups or follows can corrupt feed behavior; secrets leakage is a security incident. Mitigate with circuit breakers, last-known-good caching, retries with backoff, dead-letter queues, reconciliation jobs, alerts, and a documented degraded-mode experience.
  • Ramp-up: Laravel developers should ramp quickly on the package API, but feed modeling, fan-out design, ranking/enrichment, vendor operations, and failure handling require TPM-led design review. Budget a short compatibility/security/cost spike before committing, then a moderate operational ramp for vendor management and cost/SLA ownership.
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.
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator