Featured Project

Fake Trending Stocks

Live broadcasting demo that streams simulated stock trends using Laravel queues, schedulers, and Reverb websockets.

  • Laravel
  • Scheduler
  • Queues
  • Reverb
Screenshot of the Fake Trending Stocks dashboard

Fake Trending Stocks showcases a production-ready Laravel stack that generates synthetic market data, schedules broadcast jobs, and distributes updates over Laravel Reverb to subscribed clients. It is a compact reference for structuring background workers, queues, and real-time dashboards in Laravel's latest release.

The application seeds a rolling catalogue of stocks and uses scheduled jobs to update their momentum scores. Each refresh dispatches queue jobs that push updates via Laravel Reverb so connected clients see the leaderboard shuffle in real time. The UI intentionally remains minimal to spotlight the broadcasting pipeline.

Highlights:

  • Cron-driven generators fabricate trending metrics at configurable intervals.
  • Queue workers dispatch batched broadcasts, keeping websocket payloads lightweight.
  • Reverb channels are namespaced per leaderboard, letting multiple dashboards subscribe independently.
  • Observability hooks surface job durations and broadcast latency for rapid tuning.

Extend the system by swapping the generator with a real market feed, or by layering alerts when momentum crosses custom thresholds.