api-platform plugin
API Platform development skills for Symfony and Laravel — resources, filters, state layer, security, validation, pagination, errors, GraphQL, Mercure, OpenAPI docs and tests.
How to install the api-platform plugin
Run both commands inside Claude Code. The first adds the marketplace once; the second installs the plugin.
/plugin marketplace add api-platform/skillset
/plugin install api-platform@api-platform-skillsetWhat's inside api-platform
15 parts read from the plugin's own files.
Skills 15
Claude loads it when the task matches- api-docs
Customizes OpenAPI v3 documentation for API Platform resources using attributes, YAML configuration, or factory decorators.
- api-filter
Adds filters to API Platform collections using the canonical QueryParameter approach for search, sorting, and range filtering.
- api-platform-mcp
Exposes API Platform resources as Model Context Protocol tools and resources for AI agents using PHP attributes.
- api-resource
Creates or modifies API Platform resources using DTOs, Object Mappers, and state providers or processors.
- api-test
Writes functional tests for API Platform endpoints using ApiTestCase to verify CRUD, validation, security, and multi-tenant isolation.
- custom-validator
Create custom validation constraints for API Platform resources using Symfony constraints or Laravel validation rules.
- errors
Manages error handling and RFC 7807 Problem Details responses by mapping exceptions to HTTP status codes and creating structured error resources.
- graphql
Exposes API Platform resources via GraphQL, supporting queries, mutations, custom resolvers, and Relay cursor pagination.
- mercure
Pushes real-time resource updates from API Platform to clients using the Mercure protocol and Server-Sent Events.
- operations
Configures API operation lifecycle, security expressions, validation groups, and parameter-level constraints for RESTful endpoints.
- pagination
Configures various collection pagination strategies including page-based, cursor-based, and partial pagination within API Platform.
- securing-collections
Secures API Platform collections using Doctrine extensions for global query filters and link handlers for nested resource ownership validation.
- serialization-groups
Configures serialization and denormalization contexts using groups to control field visibility and relation embedding in API Platform.
- state-processor
Creates state processors to handle persistence and side effects for write operations like POST, PUT, PATCH, and DELETE.
- state-provider
Creates state providers for read operations in API Platform to handle custom data retrieval, enrichment, and DTO transformations.
Using api-platform in Claude Code
Skills need no command. Claude reads them when your request matches what they describe.
Update, turn off or remove
- Update the plugin (shell)
- claude plugin update api-platform@api-platform-skillset
- Refresh the marketplace
- /plugin marketplace update api-platform-skillset
- Turn it off for now
- /plugin disable api-platform@api-platform-skillset
- Remove it
- /plugin uninstall api-platform@api-platform-skillset
Skills in api-platform
- api-docsapi-platform/skillset
Customizes OpenAPI v3 documentation for API Platform resources using attributes, YAML configuration, or factory decorators.
29stars - api-filterapi-platform/skillset
Adds filters to API Platform collections using the canonical QueryParameter approach for search, sorting, and range filtering.
29stars - api-platform-mcpapi-platform/skillset
Exposes API Platform resources as Model Context Protocol tools and resources for AI agents using PHP attributes.
29stars - api-resourceapi-platform/skillset
Creates or modifies API Platform resources using DTOs, Object Mappers, and state providers or processors.
29stars - api-testapi-platform/skillset
Writes functional tests for API Platform endpoints using ApiTestCase to verify CRUD, validation, security, and multi-tenant isolation.
29stars - custom-validatorapi-platform/skillset
Create custom validation constraints for API Platform resources using Symfony constraints or Laravel validation rules.
29stars - errorsapi-platform/skillset
Manages error handling and RFC 7807 Problem Details responses by mapping exceptions to HTTP status codes and creating structured error resources.
29stars - graphqlapi-platform/skillset
Exposes API Platform resources via GraphQL, supporting queries, mutations, custom resolvers, and Relay cursor pagination.
29stars - mercureapi-platform/skillset
Pushes real-time resource updates from API Platform to clients using the Mercure protocol and Server-Sent Events.
29stars - operationsapi-platform/skillset
Configures API operation lifecycle, security expressions, validation groups, and parameter-level constraints for RESTful endpoints.
29stars - paginationapi-platform/skillset
Configures various collection pagination strategies including page-based, cursor-based, and partial pagination within API Platform.
29stars - securing-collectionsapi-platform/skillset
Secures API Platform collections using Doctrine extensions for global query filters and link handlers for nested resource ownership validation.
29stars - serialization-groupsapi-platform/skillset
Configures serialization and denormalization contexts using groups to control field visibility and relation embedding in API Platform.
29stars - state-processorapi-platform/skillset
Creates state processors to handle persistence and side effects for write operations like POST, PUT, PATCH, and DELETE.
29stars - state-providerapi-platform/skillset
Creates state providers for read operations in API Platform to handle custom data retrieval, enrichment, and DTO transformations.
29stars
api-platform plugin questions
How do I install the api-platform plugin?
In Claude Code run /plugin marketplace add api-platform/skillset, then /plugin install api-platform@api-platform-skillset.
What does the api-platform plugin include?
api-platform bundles 15 skills.
How do I update or remove the api-platform plugin?
Update it with claude plugin update api-platform@api-platform-skillset in your shell, or from the Installed tab of /plugin. Remove it with /plugin uninstall api-platform@api-platform-skillset.