Examples built with Winter Boot and Winter Modules
These examples are complete, runnable apps built with Winter Boot plus Winter Modules. Each one shows configuration, application code, and how to run and verify the result locally.
Available examples
Section titled “Available examples”RedisStore strings, counters, hashes, lists, and sets with Winter Redis and PhpRedisTemplate.
SQS consumerConsume messages from an SQS queue with Winter SQS and write them to a file, using ElasticMQ locally.
Kafka consumerConsume messages from a Kafka topic with Winter Kafka and write them to a file, using a local broker.
S3Upload, download, list, and delete objects with Winter S3, tested locally with MinIO.
OpenSearchIndex, search, update, and delete documents with Winter OpenSearch.
DoctrineManage users through Doctrine ORM entities with programmatic transactions.
Daemon threadsWatch an inbox directory with a supervised background daemon process.
SchedulerRun hourly cleanup and daily summary jobs on fixed cadences.
DTCE tasksPrice order invoices in distributed background workers with Winter DTCE.
AOP ExampleProtect a REST endpoint with a custom AOP attribute that checks a request header.
How examples are structured
Section titled “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
Start with the SQS consumer.