php-evgen

Design PHP 8.3+ Symfony applications with strict typing and DDD architecture.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/bpteam/coder --skill php-evgen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: php-evgen
Source: https://github.com/bpteam/coder/tree/main/.opencode/skills/php-evgen
Command: npx skills add https://github.com/bpteam/coder --skill php-evgen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

PHP projects struggle to enforce modern PHP patterns, strict typing, and a clean DDD architecture within Symfony-based applications.

Core Features & Use Cases

  • Enforces PHP 8.3+ features, strict types, and PSR standards in Symfony projects.
  • Guides domain-driven design with clear Domain/Application boundaries and pragmatic architecture decisions.
  • Use Case: modernize or scaffold an application to align with best practices in type safety and maintainable architecture.

Quick Start

Create a new PHP 8.3+ Symfony project configured with strict typing and a DDD layer structure.

Frequently Asked Questions about php-evgen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure a Symfony application using Domain-Driven Design?

Structure a Symfony application using Domain-Driven Design by defining clear boundaries between Domain and Application layers. This approach enforces strict typing, typed domain models, and pragmatic architecture decisions across your DDD layers.

How do I enforce strict typing and PHPStan level 9 in PHP 8.3 projects?

Enforce strict typing and PHPStan level 9 in PHP 8.3 projects by applying strict type hints and PSR-12 standards across services, controllers, and repositories. This ensures type safety and maintainable architecture within your Symfony applications.

Can I use this approach to modernize an existing PHP application to PSR standards?

You can modernize an existing PHP application to PSR standards by scaffolding or refactoring it to align with PHP 8.3+ features. This enforces strict types and clean dependency injection usage within your current Symfony project structure.

What is the best way to scaffold a PHP 8.3+ Symfony project with clean architecture?

The best way to scaffold a PHP 8.3+ Symfony project with clean architecture is to configure strict typing alongside a structured DDD layer structure. This setup provides type hints, PSR-compliant code, and a maintainable domain-driven design workflow.

Does this DDD workflow require dependency injection for all Symfony controllers and repositories?

Yes, this DDD workflow requires dependency injection for all Symfony controllers and repositories. It enforces DI usage alongside strict typing and PSR-12 standards to maintain clear Domain and Application boundaries.

Why use strict typing and DDD boundaries in a Symfony application?

Use strict typing and DDD boundaries in a Symfony application to solve the struggle of enforcing modern PHP patterns and clean architecture. It enforces PHP 8.3+ features, typed domain models, and PSR-compliant code for long-term maintainability.