Normal view

Today — 5 June 2026Main stream

New Yii3 Demo: Document Summarizer

We’ve added a new Yii3 demo application:

https://github.com/yiisoft/demo-summarizer

It started as a practical way to test yiisoft/queue together with AMQP and Redis/Valkey drivers in Yii3 application, but it turned into a useful demo on its own.

The app lets you upload documents, extract readable markdown, summarize content with a local OpenAI-compatible llama.cpp service, and track processing progress through Yii Queue workers. It supports multiple queue drivers, background workers, S3-compatible storage via Garage, retries, deletion, and clearing all stored data and pending jobs.

By default, it runs with AMQP protocol, two RabbitMQ workers, Kreuzberg extraction, Garage storage, and a small CPU-friendly Gemma model through llama.cpp.

It is useful if you want to see:

  • Yii3 app structure in practice.
  • Native yiisoft/queue worker usage.
  • AMQP and Redis/Valkey queue drivers.
  • Docker-based local development.
  • File upload validation and processing.
  • S3-compatible storage integration.
  • Local LLM integration through an OpenAI-compatible API.

Try it with:

make build make up make -- yii migrate:up -y 

Then open http://127.0.0.1/

Feedback and improvements are welcome.

submitted by /u/sam_dark to r/PHP
[link] [comments]
❌
❌