๐Ÿ”„
DevOpsTypeScript

Symfony Doctrine Events

by dev-toolings

Symfony Doctrine Events is a DevOps skill for Claude Code, published by dev-toolings in superpowers-symfony.

208 stars20 forkson dev-toolings/superpowers-symfonyAdded 2026/09/04Repository updated 2026/08/31
ai-agentsanthropicapi-platformclaude-codeclaude-code-plugincqrsddddeveloper-toolsdoctrinedoctrine-ormfrankenphphexagonal-architecturellmpestphpphpunitsymfonysymfony-bundlesymfony-messengertdd
Install in seconds
Install Symfony Doctrine Events
Copy Symfony Doctrine Events into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/dev-toolings/superpowers-symfony/tree/main/skills/doctrine-events ~/.claude/skills/doctrine-events

Requires Node.js. Downloads this skill only โ€” not the rest of the repository โ€” into your Claude Code skills folder.

Without Node.js

git clone https://github.com/dev-toolings/superpowers-symfony.git

Clones the whole repository, then copy the skillโ€™s own directory into your skills folder yourself.

In this catalog

Source file
skills/doctrine-events/SKILL.md in dev-toolings/superpowers-symfony
Installs to
~/.claude/skills/doctrine-events
Collection
One of 23 skills cataloged from this repository
Category
DevOps โ€” 920 skills

What Symfony Doctrine Events does

Symfony Doctrine Events shows how to react to Doctrine entity lifecycle changes with callbacks, entity listeners, and lifecycle listeners in ORM 3. Use it for timestamps, slugs, indexing, notifications, and testing persistence side effects.

Symfony Doctrine Events is cataloged under DevOps on DirSkills. Symfony Doctrine Events comes from a repository tagged ai-agents, anthropic, api-platform, claude-code and claude-code-plugin.

Documentation

README

Doctrine Events (Symfony)

Use when

  • You need side effects on entity persistence (timestamps, slugs, search indexing, notifications).
  • Migrating an EventSubscriberInterface Doctrine subscriber to ORM 3.
  • Choosing between lifecycle callbacks, entity listeners, and global lifecycle listeners.

Default workflow

  1. Pick the narrowest mechanism: callback (one entity, no deps) โ†’ entity listener (one entity, needs services) โ†’ lifecycle listener (cross-cutting, all entities).
  2. Wire it with attributes (#[ORM\HasLifecycleCallbacks], #[AsEntityListener], #[AsDoctrineListener]).
  3. Type the event argument by its per-event class (PostPersistEventArgs, PreUpdateEventArgs, โ€ฆ).
  4. Verify the side effect fires with a targeted functional test against a real DB.

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Symfony Doctrine Events

  • What else does dev-toolings publish alongside Symfony Doctrine Events?

    Symfony Doctrine Events is one of 23 skills that DirSkills catalogs from dev-toolings/superpowers-symfony, the repository it ships in. Its siblings there include API Platform Serialization, API Platform Tests and Api Platform DTO Resources. Each one is a separate skill with its own page in this directory, installs the same way Symfony Doctrine Events does, and is maintained by dev-toolings in that same repository. The rest of the collection is listed on the dev-toolings/superpowers-symfony page.

  • How does Symfony Doctrine Events compare to other DevOps skills?

    Symfony Doctrine Events ranks #848 by stars among the 920 DevOps skills in this catalog. The most-starred ones next to it are Backend Patterns, API Connector Builder and Migration. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Symfony Doctrine Events against them. Open each page to compare what they document and how they install.

More from dev-toolings/superpowers-symfony

Symfony Doctrine Events is one of 23 skills cataloged on DirSkills from dev-toolings/superpowers-symfony.

See all 23 skills โ†’
๐Ÿงฉ
2h ago

API Platform Serialization

API Platform Serialization controls Symfony API Platform payloads with groups, #[Context], IRI links, and custom context builders. Use it when defining contracts, mapping resources or DTOs, and verifying serialization behavior.
AI Engineering
20820
๐Ÿงช
2h ago

API Platform Tests

API Platform Tests validates Symfony API Platform resources with ApiTestCase. Use it to assert collections, items, filters, JSON schema, authentication, and contract behavior.
Quality
20820
๐Ÿงฉ
2h ago

Api Platform DTO Resources

Api Platform DTO Resources maps Symfony entities to API Platform v4 DTOs with the Object Mapper. Use it to keep input and output contracts explicit while controlling validation and security.
AI Engineering
20820
๐Ÿงฉ
2h ago

Api Platform State Providers

Api Platform State Providers helps you design API Platform v4 state providers and processors to separate retrieval and persistence from entities. Use it when defining operation contracts, mapping DTOs, and enforcing validation and security behavior.
AI Engineering
20820
๐Ÿ”€
2h ago

Api Platform Versioning

Api Platform Versioning helps evolve Symfony API Platform contracts through deprecation, sunset headers, and path or header strategies. Use it when changing resources, DTOs, validation, or security without breaking clients.
SEO
20820
๐Ÿงน
2h ago

Controller Cleanup

Controller Cleanup refactors fat Symfony controllers into lean ones by moving business logic into services, handlers, and invokable commands. Use it for medium-complexity architecture changes that need checkpoints and validation.
Quality
20820