No description
Find a file
Jérémy Munsch 0d2b0124ee docs(architecture): add global architecture documentation for Arcadia API
docs(architecture): add request lifecycle documentation for Arcadia API

docs(architecture): add execution, transactions, and domain events documentation for Arcadia API

docs(architecture): add guide for creating a new use case in Arcadia API

docs(exceptions): summarize exception handling and HTTP status codes in Arcadia API

docs(tests): outline testing strategy and conventions for Arcadia API

style(openapi): correct description formatting in OpenAPI documentation

chore: remove outdated exceptions documentation

test: remove obsolete tests documentation
2026-08-21 10:41:07 +02:00
.intellipest feat(api): implement tracer bullet for employees and OpenAPI specification 2026-08-12 15:45:29 +02:00
bootstrap feat(event): implement BrandCreated event and listeners 2026-08-21 09:45:06 +02:00
config fix(quality): resolve PHP_CodeSniffer warnings and errors 2026-08-18 18:25:04 +02:00
database feat(inco): migrate to IncoBrand VO, BrandResolver domain service and BrandCode filtering 2026-08-20 18:16:31 +02:00
documentation docs(architecture): add global architecture documentation for Arcadia API 2026-08-21 10:41:07 +02:00
public fix(robots): update disallow rule for web crawlers 2026-08-12 17:42:02 +02:00
resources docs(README): update API description and architecture details 2026-08-12 17:00:48 +02:00
routes feat(brand): add Brand use cases, API v1 endpoints, console command, OpenAPI spec and Bruno collection 2026-08-20 17:35:47 +02:00
src feat(event): implement TransactionalDomainEventDispatcher with post-commit release 2026-08-21 10:28:36 +02:00
storage feat(api): implement tracer bullet for employees and OpenAPI specification 2026-08-12 15:45:29 +02:00
tests feat(event): implement TransactionalDomainEventDispatcher with post-commit release 2026-08-21 10:28:36 +02:00
.editorconfig feat(api): implement tracer bullet for employees and OpenAPI specification 2026-08-12 15:45:29 +02:00
.env.example feat(infra): add ApiClient Eloquent model, repository adapter, security services, migrations, seeders and tests 2026-08-18 12:03:29 +02:00
.env.testing feat(infra): add ApiClient Eloquent model, repository adapter, security services, migrations, seeders and tests 2026-08-18 12:03:29 +02:00
.gitattributes feat(api): implement tracer bullet for employees and OpenAPI specification 2026-08-12 15:45:29 +02:00
.gitignore chore(composer): update test coverage command to output HTML report 2026-08-13 13:14:42 +02:00
.gitlab-ci.yml ci: add test coverage command to composer scripts 2026-08-13 10:10:15 +02:00
artisan feat(api): implement tracer bullet for employees and OpenAPI specification 2026-08-12 15:45:29 +02:00
composer.json chore(tests): run Pest tests in parallel 2026-08-20 17:47:40 +02:00
composer.lock build: require php ^8.5 and remove league/uri dependency 2026-08-17 09:32:49 +02:00
phpcs.xml feat(api): implement tracer bullet for employees and OpenAPI specification 2026-08-12 15:45:29 +02:00
phpstan.neon chore(dependencies): update dependencies and add phpstan extension 2026-08-12 16:40:32 +02:00
phpunit.xml chore(config): update phpunit configuration for better error handling 2026-08-14 10:43:09 +02:00
pint.json feat(api): implement tracer bullet for employees and OpenAPI specification 2026-08-12 15:45:29 +02:00
README.md docs(architecture): add global architecture documentation for Arcadia API 2026-08-21 10:41:07 +02:00
rector.php feat(api): implement tracer bullet for employees and OpenAPI specification 2026-08-12 15:45:29 +02:00

Arcadia API

Arcadia API est une API de référence conçue selon les principes de la Clean Architecture, du Domain-Driven Design (DDD) et de l'Architecture Hexagonale (Ports & Adapters).


📚 Documentation pour les Développeurs

L'ensemble de la documentation technique et des guides pratiques est organisé dans le dossier documentation/ :

🏛️ Architecture & Fonctionnement

📐 Conventions & Standards

  • Conventions de Tests : Principes F.I.R.S.T., structure GWT, pyramide de tests, Test Data Builders et Object Mothers.
  • Gestion des Exceptions : Matrice de correspondance entre exceptions applicatives/domaine et codes HTTP RFC 7807 (400, 404, 409, 422, 429, 500).

🚀 Commandes Utiles

# Lancer la suite de tests Pest
composer test

# Lancer l'analyse statique PHPStan (Niveau 10)
vendor/bin/phpstan analyse

# Vérifier le formattage du code PSR-12 (Pint)
vendor/bin/pint --test

# Verifier les conventions et regles de lint (PHP Code Sniffer)
vendor/bin/phpcs

# Corriger automatiquement les conventiosn (PHP Code Beautifier)
vendor/bin/phpcbf