php-symfony-api-platform-state-providers

Community

Decouple API data with custom state providers.

AuthorLounisBou
Version1.0.0
Installs0

System Documentation

What problem does it solve?

API Platform state providers and processors enable you to fully decouple your API layer from Doctrine entities, allowing custom data sources, transformations, and business logic.

Core Features & Use Cases

  • State Provider: retrieves data for single items or collections from non-Doctrine sources.
  • State Processor: handles persistence for POST, PUT, PATCH, DELETE operations with DTOs and decorators.
  • Extensibility: supports DTO transformations, external API providers, event dispatching, and auditing for mutation events.

Quick Start

Implement a custom State Provider for your data source and wire it into an ApiResource to support Get and GetCollection operations.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: php-symfony-api-platform-state-providers
Download link: https://github.com/LounisBou/claude-code/archive/main.zip#php-symfony-api-platform-state-providers

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.