No description
Find a file
Jérémy Munsch 71f6f64f7f
fix(brands): align FindBrand usecase output phpdoc type
Use the specific Arcadia find output interface in FindBrand generic annotations so static analysis resolves presenter/usecase template types correctly.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-06 11:57:36 +02:00
.intellipest feat(api): implement tracer bullet for employees and OpenAPI specification 2026-08-12 15:45:29 +02:00
bootstrap feat(api): add NormalizeQueryStringArrays middleware to support RFC and bracket query array formats 2026-09-17 18:15:52 +02:00
config chore(config): remove unused ARCADIA_DB_SCHEMA and prefix_schema from database configuration 2026-09-01 09:30:20 +02:00
database fix(inco): resolve brand filter via REFP.ARTICLE_REF COD_MARQUE and align replicate tables 2026-09-17 18:10:19 +02:00
documentation refactor(find): use polymorphic outputs for not found cases 2026-10-05 15:50:01 +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(brands): remove internal uuid from brand responses and query only by brandCode 2026-08-31 17:35:32 +02:00
src fix(brands): align FindBrand usecase output phpdoc type 2026-10-06 11:57:36 +02:00
storage feat(api): implement tracer bullet for employees and OpenAPI specification 2026-08-12 15:45:29 +02:00
tests refactor(find): use polymorphic outputs for not found cases 2026-10-05 15:50:01 +02:00
.editorconfig feat(api): implement tracer bullet for employees and OpenAPI specification 2026-08-12 15:45:29 +02:00
.env.example chore(config): remove unused ARCADIA_DB_SCHEMA and prefix_schema from database configuration 2026-09-01 09:30:20 +02:00
.env.testing feat(security): add database audit logging and asynchronous markdown email alerts for api client actions 2026-08-21 12:07:13 +02:00
.gitattributes feat(api): implement tracer bullet for employees and OpenAPI specification 2026-08-12 15:45:29 +02:00
.gitignore feat(health): add Arcadia database conformity check with diff hashing and synchronous alerting 2026-08-28 14:12:33 +02:00
.gitlab-ci.yml build(ci): require ext-oci8 in composer.json and add ignore-platform-req in GitLab CI 2026-08-28 17:46:26 +02:00
artisan feat(api): implement tracer bullet for employees and OpenAPI specification 2026-08-12 15:45:29 +02:00
composer.json refactor(api): use League URI for RFC query string normalization and nested bracket support 2026-09-18 10:32:52 +02:00
composer.lock refactor(api): use League URI for RFC query string normalization and nested bracket support 2026-09-18 10:32:52 +02:00
docker-compose.yml fix(oracle): support multi-schema queries and SID connection configuration 2026-08-31 11:17:16 +02:00
phpcs.xml refactor(phpcs): update ruleset name and remove unused rules 2026-08-28 17:52:54 +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 refactor(phpcs): update ruleset name and remove unused rules 2026-08-28 17:52:54 +02:00
README.md docs: update README to use 'artisan' command prefix 2026-08-31 11:18:28 +02:00
rector.php refactor(phpcs): update ruleset name and remove unused rules 2026-08-28 17:52:54 +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).

🗄️ Métamodèle & Intégration Oracle


🚀 Commandes Utiles

Développement & Qualité de Code

# 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

Gestion de l'Application Arcadia

# Vérifier l'état de l'application
php artisan health

# List all Arcadia brands
php artisan arcadia:brand:list

# List all Arcadia clients
php artisan arcadia:client:list

# Create a new Arcadia client (interactive wizard)
php artisan arcadia:client:create

# Regenerate the secret of an API client
php artisan arcadia:client:regenerate-secret

# Toggle the status of an API client
php artisan arcadia:client:toggle-status

# Check schema and query conformity of the replicated Arcadia Oracle database
php artisan arcadia:database:check-conformity

# Display or export security audit events since a specified date
php artisan arcadia:security:audit-logs