api-platform:make-dto

Community

Generate API Platform DTOs and State Handlers

Authoratournayre
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the creation of Data Transfer Objects (DTOs) and associated State Providers/Processors for API Platform, streamlining API development by separating API contracts from entity structures.

Core Features & Use Cases

  • DTO Generation: Creates input and output DTOs for API resources.
  • State Handler Generation: Generates Provider and Processor classes to manage DTO-entity mapping.
  • Use Case: Quickly scaffold DTOs for a new Product entity, defining specific fields for input validation and output presentation, and automatically generating the necessary PHP classes and API Platform resource annotations.

Quick Start

Use the api-platform:make-dto skill to generate input and output DTOs for the 'User' resource.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 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: api-platform:make-dto
Download link: https://github.com/atournayre/claude-personas/archive/main.zip#api-platform-make-dto

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.