Skip to main content
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

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.yml plus the module config file)
  • Application and worker code
  • Steps to run the app and verify the outcome
Start with the SQS consumer.
For module API details behind the examples, see Libraries overview and the Redis, Doctrine, SQS, Kafka, S3, OpenSearch, and DTCE modules. Daemon threads and scheduling are core framework features — see Daemon Threads and Scheduling.