Laravel, AI, and the bugs in between.

Field notes on shipping LLM features with PHP: queues, streaming, evals, and the incidents that taught me each of them. A new post every other Thursday.

terminal · bash
composer require laravel/reverb
php artisan install:broadcasting
php artisan reverb:start
php artisan queue:work --tries=3
AI & LLMsLaravelLivewireOpinionOpsPostgresQueuesReverbTestingWebSocketsWriting

Latest post

  1. Streaming LLM responses with Laravel Reverb

    Polling made our chat feel like a fax machine. Here is the WebSocket setup that puts the first token on screen in 300 ms, and the two mistakes that cost me a weekend.

Recent posts

All posts

Series

RAG from scratch in Laravel

Read more
  1. Chunking documents without losing the plot
  2. Embeddings in Postgres with pgvector and Eloquent
  3. Reranking: the cheap step everyone skips
  4. Measuring whether any of it helped

About the author

Jonas Brandt

Backend developer in Leipzig. Ten years of Laravel, two of putting language models into products people pay for. I write down what broke so you can skip it.