api-platform:make-processor

Generate API Platform State Processors in PHP with custom persistence logic.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/atournayre/claude-personas --skill api-platform-make-processor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-platform:make-processor
Source: https://github.com/atournayre/claude-personas/tree/main/api-platform/skills/make-processor
Command: npx skills add https://github.com/atournayre/claude-personas --skill api-platform-make-processor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the creation of State Processors for API Platform, streamlining the development of custom data persistence and modification logic.

Core Features & Use Cases

  • Automated Processor Generation: Creates PHP classes implementing ProcessorInterface for API Platform resources.
  • Customizable Logic: Supports decorating Doctrine persistence or implementing custom logic and asynchronous processing via Symfony Messenger.
  • Use Case: When developing a new API resource in API Platform, use this Skill to quickly scaffold the necessary State Processor, allowing you to focus on the business logic rather than boilerplate code.

Quick Start

Use the api-platform:make-processor skill to generate a State Processor for the 'Product' resource.

Frequently Asked Questions about api-platform:make-processor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate an API Platform state processor for custom persistence logic?

You can scaffold a PHP state processor class by using this Skill to generate the file in src/State, automating boilerplate creation so you can focus on custom data persistence logic.

What is an API Platform state processor used for?

An API Platform state processor handles custom data persistence and modification logic, supporting decoration of Doctrine ORM, fully custom persistence, or asynchronous operations via Symfony Messenger.

Can I use Symfony Messenger for asynchronous processing in an API Platform state processor?

Yes, this Skill generates state processors that integrate with Symfony Messenger, allowing you to implement asynchronous operations for your API Platform resources.

Does this state processor generator support decorating Doctrine ORM persistence?

Yes, the generated state processor can decorate Doctrine ORM persistence, allowing you to extend or override the default database operations for your API Platform resources.

What is the best way to create a state processor for a new API resource in Symfony?

The best way to create a state processor is using this Skill to automate the generation of the ProcessorInterface implementation, providing configuration guidance and scaffolding the PHP class.

Do I need to manually configure API Platform state processors after generation?

This Skill automates file creation and provides configuration guidance, reducing manual setup for your state processors while allowing you to focus on implementing the business logic.