Available examples
Redis
Store strings, counters, hashes, lists, and sets with Winter Redis and PhpRedisTemplate.
SQS consumer
Consume messages from an SQS queue with Winter SQS and write them to a file, using ElasticMQ locally.
Kafka consumer
Consume messages from a Kafka topic with Winter Kafka and write them to a file, using a local broker.
S3
Upload, download, list, and delete objects with Winter S3, tested locally with MinIO.
OpenSearch
Index, search, update, and delete documents with Winter OpenSearch.
Doctrine
Manage users through Doctrine ORM entities with programmatic transactions.
Daemon threads
Watch an inbox directory with a supervised background daemon process.
Scheduler
Run hourly cleanup and daily summary jobs on fixed cadences.
DTCE tasks
Price order invoices in distributed background workers with Winter DTCE.
AOP Example
Protect a REST endpoint with a custom AOP attribute that checks a request header.
How examples are structured
Each example follows the same layout so you can move from one to the next quickly:- What you build and which modules it uses
- Prerequisites such as PHP extensions and backing services
- Project structure with every file you need
- Configuration (
application.ymlplus the module config file) - Application and worker code
- Steps to run the app and verify the outcome