{"id":15028262,"url":"https://github.com/k0t9i/taskmanager-php-ddd","last_synced_at":"2025-08-14T19:04:29.851Z","repository":{"id":186583836,"uuid":"650332119","full_name":"k0t9i/TaskManager-php-ddd","owner":"k0t9i","description":"Clean Architecture, DDD and CQRS using Symfony 6","archived":false,"fork":false,"pushed_at":"2023-09-19T11:41:54.000Z","size":795,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T22:24:21.828Z","etag":null,"topics":["clean-architecture","cqrs","cqrs-pattern","ddd","ddd-architecture","ddd-example","docker","doctrine","doctrine-orm","doctrine2","microservices","php","php8","php82","rabbitmq","symfony","symfony6","symfony62"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/k0t9i.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-06T21:04:34.000Z","updated_at":"2025-02-06T23:25:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"b6781e29-add7-4030-b7fa-4859db16da50","html_url":"https://github.com/k0t9i/TaskManager-php-ddd","commit_stats":null,"previous_names":["k0t9i/taskmanager-php-ddd"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0t9i%2FTaskManager-php-ddd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0t9i%2FTaskManager-php-ddd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0t9i%2FTaskManager-php-ddd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k0t9i%2FTaskManager-php-ddd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k0t9i","download_url":"https://codeload.github.com/k0t9i/TaskManager-php-ddd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248107063,"owners_count":21048847,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clean-architecture","cqrs","cqrs-pattern","ddd","ddd-architecture","ddd-example","docker","doctrine","doctrine-orm","doctrine2","microservices","php","php8","php82","rabbitmq","symfony","symfony6","symfony62"],"created_at":"2024-09-24T20:07:55.189Z","updated_at":"2025-04-09T20:30:27.545Z","avatar_url":"https://github.com/k0t9i.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Task manager system using Clean Architecture, DDD and CQRS. [![CI](https://github.com/k0t9i/TaskManager-php-ddd/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/k0t9i/TaskManager-php-ddd/actions/workflows/ci.yml)\n\n## Environment setup\n1) Install Docker\n2) Clone the project: `git clone https://github.com/k0t9i/TaskManager-php-ddd.git`\n3) Run docker containers: `docker-compose -f ./backend/symfony/docker-compose.yml up -d --build`\n4) Setup application: `make setup`. This step installs the composer dependency, generates JWT keys, runs migrations, warms up the cache and reloads the supervisor.\n## Performing checks\n- `make test` - phpunit tests\n- `make code-style` - php-cs-fixer checks\n- `make static-analysis` - psalm checks\n- `make check-all` - all of the above\n## Api\nSwagger api is available on http://127.0.0.1:8081/api/doc\n## Database\nAll data is stored on one server in one database, you can see the database structure via adminer http://127.0.0.1:9080/.\n## Frontend example\nSimple vue3 application is available on http://127.0.0.1:7080/\n## Code structure\n```scala\n├── Projects  // Code related to a specific bounded context\n│   ├── Application // Application layer depends only on Domain layer\n│   │   ├── Command\n│   │   ├── Handler // Command handlers\n│   │   ├── Service // Application services\n│   │   └── Subscriber // Domain event subscribers\n│   ├── Domain // Domain logic layer does not depend on other layers\n│   │   ├── Collection\n│   │   ├── Entity // Entities and aggregate roots\n│   │   ├── Event // Domain events\n│   │   ├── Exception // Domain exceptions\n│   │   ├── Repository // Repository interfaces\n│   │   └── ValueObject\n│   └── Infrastructure // Infrastructure layer depends on Domain and Application layers\n│       ├── Persistence // Entity mapping in database\n│       ├── Repository // Repository realizations\n│       └── Service\n└── Shared // Common code for all bounded contexts\n```\n## Buses\nCommand and query buses are synchronous, implemented via the symfony messenger.\n\nThe application has two event buses: the domain event bus and the integration event bus.\n\nThe domain event bus is synchronous, implemented via the symfony messenger and used inside bounded contexts.\n\nThe integration event bus is asynchronous, implemented via the symfony messenger and RabbitMQ (http://127.0.0.1:15673/). Events are received from RabbitMQ through the Symfony Messenger, which is launched using the supervisor.\n\n## Projections\nProjections are collected from domain events using the console command, which is launched using the supervisor.\n\nYou can always reload projections from scratch with `make projections-reload`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk0t9i%2Ftaskmanager-php-ddd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk0t9i%2Ftaskmanager-php-ddd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk0t9i%2Ftaskmanager-php-ddd/lists"}