API Platform Provider Generator

0•

Generates custom API Platform State Providers to handle specialized data retrieval and business logic for your API resources.

This skill streamlines the development of Symfony-based API Platform applications by automating the creation of State Providers. It guides developers through a step-by-step workflow to identify resources, select provider types (Item, Collection, or both), and define data sources—whether decorating existing Doctrine logic or fetching from external APIs. By enforcing best practices such as final readonly classes and proper interface implementation, it ensures your architecture remains clean, maintainable, and fully integrated with your project's namespace and configuration.

主な機能

01Generates optimized code with Item/Collection operation separation
02Interactive resource identification and structure analysis
03Automated PHP namespace detection via composer.json
04Automatic updates to #[ApiResource] attributes in existing entities
05Support for Doctrine decoration or standalone external data sources
060 GitHub stars

ユースケース

01Adding custom filtering or business-specific access control to standard database queries
02Aggregating data from multiple sources before serving it through a single API endpoint
03Retrieving data from third-party microservices or legacy APIs for a modern frontend