Symfony:doctrine Events
React to Doctrine entity lifecycle in Symfony with attribute listeners (#[AsDoctrineListener]/#[AsEntityListener], ORM 3) and lifecycle callbacks
Symfony:api Platform State Providers
Master API Platform v4 State Providers and Processors (ProviderInterface/ProcessorInterface) to decouple data retrieval and persistence from entities
Symfony:doctrine Relations
Define Doctrine entity relationships (OneToMany, ManyToMany, ManyToOne); configure cascade, orphan removal, multiple entity managers; prevent N+1 queries
Symfony:api Platform Filters
Implement API Platform filters - v4 Parameters API (QueryParameter) and legacy #[ApiFilter] - for search, date, range, boolean, and custom filtering
Symfony:interfaces And Autowiring
Master Symfony Dependency Injection with autowiring, #[Target] interface binding, decoration, and tagged services
Symfony:api Platform Serialization
Control API Platform serialization with groups, #[Context], IRI links (readableLink/writableLink), and custom context builders
Symfony:api Platform Versioning
Evolve API Platform APIs via deprecation (deprecationReason/sunset, RFC 8594/9745), the recommended alternative to versioning; plus path/header strategies
Symfony:symfony Cache
Implement caching with the Symfony Cache component; configure pools, use tags for invalidation, prevent stampede
Symfony:api Platform Dto Resources
Map entities to API DTOs in API Platform v4 with the Symfony Object Mapper (#[Map], stateOptions) for decoupled input/output contracts
Symfony:functional Tests
Write functional tests for Symfony controllers and HTTP endpoints using WebTestCase, getContainer, loginUser, and DAMA rollback
Symfony:effective Context
Provide effective context to Claude for Symfony development with relevant files, patterns, and constraints
Symfony:e2e Panther Playwright
Write end-to-end tests with Symfony Panther 2.4 for browser automation or Playwright for complex scenarios
Symfony:cqrs And Handlers
Implement CQRS in Symfony with separate Command and Query buses/handlers using the Messenger component
Symfony:test Doubles Mocking
Create test doubles with PHPUnit mocks for isolated unit testing in Symfony
Symfony:api Platform Security
Secure API Platform resources with security expressions, voters, securityPostValidation, and operation-level access control
Symfony:form Types Validation
Build Symfony forms with custom Form Types, validation constraints, HTTP 422 handling, and multi-step flows
Symfony:twig Components
Build reusable UI components with Symfony UX Twig Components (props, slots, anonymous components, CVA) for clean templates
Symfony:strategy Pattern
Implement the Strategy pattern with Symfony's tagged services for runtime algorithm selection and extensibility
Symfony:executing Plans
Methodically execute implementation plans with a TDD approach, incremental commits, and continuous validation
Symfony:doctrine Transactions
Handle Doctrine transactions (ORM 3 wrapInTransaction), optimistic/pessimistic locking, flush strategies, and transaction boundaries
Symfony:daily Workflow
Daily development workflow for Symfony projects including common tasks, debugging, and productivity tips
Symfony:doctrine Migrations
Create and manage Doctrine migrations (lib 4.x) for schema versioning; handle dependencies, rollbacks, and production deployment
Symfony:doctrine Fixtures Foundry
Create test data with Zenstruck Foundry v2 factories (PersistentObjectFactory, real objects); define states, sequences, and relationships
Symfony:ports And Adapters
Implement Hexagonal Architecture (Ports and Adapters) in Symfony; separate domain logic from infrastructure with clear boundaries
Symfony:bootstrap Check
Verify Symfony project configuration including .env, services.yaml, doctrine settings, and framework requirements
Symfony:controller Cleanup
Refactor fat controllers into lean ones by extracting business logic to services, handlers, and invokable commands
Symfony:doctrine Batch Processing
Process large datasets with Doctrine (ORM 3 toIterable, flush+clear, bulk DQL) and memory management
Symfony:messenger Retry Failures
Handle message failures with retry strategies, failure transport, and recovery in Symfony Messenger (Recoverable/Unrecoverable exceptions)
Symfony:brainstorming
Structured brainstorming for Symfony projects - explore requirements, identify components, and plan architecture collaboratively
Symfony:symfony Messenger
Async message handling with Symfony Messenger; configure transports (RabbitMQ, Redis, Doctrine); implement handlers, middleware, and retry strategies
Symfony:symfony Voters
Implement granular authorization with Symfony Voters; decouple permission logic from controllers; test authorization separately
Symfony:api Platform Tests
Test API Platform resources with ApiTestCase; assert collections, items, filters, JSON schema, and authentication
Symfony:config Env Parameters
Manage Symfony configuration with .env files, parameters, secrets vault, and environment-specific settings
Symfony:symfony Scheduler
Schedule recurring tasks with the Symfony Scheduler component (native since 7.x); define schedules, triggers, and integrate with Messenger
Symfony:tdd With Pest
Apply RED-GREEN-REFACTOR with Pest v4 (PHP 8.3+) for Symfony via the PHPUnit bridge; Foundry factories, WebTestCase, verify failures first
Symfony:tdd With Phpunit
Apply RED-GREEN-REFACTOR with PHPUnit 10/11 for Symfony; KernelTestCase/WebTestCase, attributes (#[Test]/#[DataProvider]), Foundry
Symfony:value Objects And Dtos
Design Value Objects for domain concepts and DTOs for data transfer with proper immutability (readonly) and validation
Symfony:rate Limiting
Implement rate limiting with the Symfony RateLimiter (sliding window, token bucket, fixed window) and the #[RateLimit] controller attribute
Symfony:using Symfony Superpowers
Entry point for Symfony Superpowers - lightweight workflow guidance and command map
Symfony:doctrine Fetch Modes
Optimize Doctrine fetching with DTO hydration (SELECT NEW; partial removed in ORM 3), lazy loading, query hints, and DBAL 4 access
Symfony:api Platform Resources
Configure API Platform v4 resources with explicit operations, pagination, and typed OpenAPI for clean, versioned REST/GraphQL APIs
Symfony:writing Plans
Create structured implementation plans for Symfony features with clear steps, dependencies, and acceptance criteria
Symfony:quality Checks
Run code quality tools: PHP-CS-Fixer for style, PHPStan for static analysis, and type safety checks
Symfony:runner Selection
Select and configure the appropriate command runner based on Docker Compose standard, Symfony Docker (FrankenPHP), or host environment