symfony-sk:api-entity-relation

Community

Define Doctrine entity relations in Symfony.

AuthorSwoking
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Add a relationship between two existing Doctrine entities to model real-world associations in Symfony applications.

Core Features & Use Cases

  • Supports ManyToOne, OneToMany, and ManyToMany relationships.
  • Provides templates for owning and inverse sides, including properties and getters/setters.
  • Includes guidance on constructor initialization and schema updates with dsu for production readiness.

Quick Start

Identify the relation type you need (ManyToOne, OneToMany, or ManyToMany) and apply the owning-side template to add the relationship and accessors, then run the dsu to update the schema.

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: symfony-sk:api-entity-relation
Download link: https://github.com/Swoking/symfony-sk-plugin/archive/main.zip#symfony-sk-api-entity-relation

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.