State Processor

Creates state processors for write operations in API Platform — the write/Command side of its CQRS-style provider/processor split. Use whenever a POST/PUT/PATCH/DELETE needs custom behavior — persistence logic, soft-delete, file downloads, side effects like emails or events, creating related entities, hashing passwords — or any 'when X is created/updated/deleted, do Y' request, or to understand why a GET processor doesn't fire without write: true (the write vs read phase), even if the user doesn't say 'processor'.

api-platform a4c5f14 8.2 KB Updated

File contents

api-platform/skillset/tree/main/skills/state-processor commit a4c5f142bc

Frequently asked questions

npx skillmds@latest add api-platform/state-processor