{"id":16772431,"url":"https://github.com/ludofleury/blackflag","last_synced_at":"2025-04-10T19:51:52.686Z","repository":{"id":56002284,"uuid":"314393940","full_name":"ludofleury/blackflag","owner":"ludofleury","description":"PHP application designed to assist role-playing game session for the \"Pavillon Noir\" game. DDD, CQRS, ES","archived":false,"fork":false,"pushed_at":"2020-12-11T12:21:18.000Z","size":202,"stargazers_count":27,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-24T17:50:28.539Z","etag":null,"topics":["cqrs-es","ddd","ddd-architecture","ddd-example","ddd-patterns","docker","php","rpg","symfony"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ludofleury.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-19T23:24:05.000Z","updated_at":"2024-04-23T12:33:42.000Z","dependencies_parsed_at":"2022-08-15T11:10:35.553Z","dependency_job_id":null,"html_url":"https://github.com/ludofleury/blackflag","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ludofleury%2Fblackflag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ludofleury%2Fblackflag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ludofleury%2Fblackflag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ludofleury%2Fblackflag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ludofleury","download_url":"https://codeload.github.com/ludofleury/blackflag/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248283825,"owners_count":21077925,"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":["cqrs-es","ddd","ddd-architecture","ddd-example","ddd-patterns","docker","php","rpg","symfony"],"created_at":"2024-10-13T06:32:02.651Z","updated_at":"2025-04-10T19:51:52.664Z","avatar_url":"https://github.com/ludofleury.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :pirate_flag: Black Flag\n\n[![php version](https://img.shields.io/badge/php-v8.0-blue?style=flat\u0026logo=php)](php/composer.json#L6)\n[![build Status](https://github.com/ludofleury/blackflag/workflows/ci/badge.svg?branch=main)](https://github.com/ludofleury/blackflag/actions)\n[![codecov](https://codecov.io/gh/ludofleury/blackflag/branch/main/graph/badge.svg?token=u7d7nhlwb8)](https://codecov.io/gh/ludofleury/blackflag)\n[![phpstan](https://img.shields.io/badge/phpstan-level%208-brightgreen.svg?style=flat)](CONTRIBUTING.md#phpstan)\n[![psalm](https://img.shields.io/badge/psalm-level%202-brightgreen.svg?style=flat)](CONTRIBUTING.md#psalm)\n[![mutation testing](https://img.shields.io/endpoint?style=flat\u0026url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fludofleury%2Fblackflag%2Fmain)](https://dashboard.stryker-mutator.io/reports/github.com/ludofleury/blackflag/main)\n\nPHP application designed to assist role-playing game session for the \"Pavillon Noir\" game.\n\nShowcasing usage of:\n\n  - Domain Driven Design\n  - CQRS\n  - Event Sourcing\n\n## Setup\n\n### Requirements\n\n- docker\n- docker-compose\n\n### Bootstrap\n\n1. Setup local docker-compose configuration, adjust any parameters in `docker-compose.override.yml`\n\n```bash\n  cp docker-compose.dev.yml docker-compose.override.yml\n```\n\n2. build docker images, install deps \u0026 initialize the stack `make local`\n\n3. run the stack `make up`\n\n\n## Development\n### Dependency management with composer\n\n1. run your docker-compose stack\n\n```\nmake up\n```\n\n2. run the following commands\n\n```\ndocker-compose exec php composer install\ndocker-compose exec php composer require xxx/yyyy\n```\n\nSee [CONTRIBUTING](CONTRIBUTING.md) for tests \u0026 quality standards\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fludofleury%2Fblackflag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fludofleury%2Fblackflag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fludofleury%2Fblackflag/lists"}