php-symfony

Build Symfony PHP applications with strict typing and PHPStan level 9.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

PHP developers often struggle to enforce strict typing, PSR-12 standards, and enterprise-grade architecture when building Symfony-based applications. This skill provides structured guidance to help teams build robust PHP 8.3+ apps with Symfony, complying with PHPStan level 9.

Core Features & Use Cases

  • Enforces strict typing, DI, and PSR-compliant architecture for Symfony projects.
  • Provides reference patterns and best practices for Symfony services, controllers, events, and security.
  • Suitable for both new projects and migrations requiring modern PHP features and enterprise patterns.

Quick Start

Follow the guidance to set up a Symfony PHP project with strict typing in your codebase.

Frequently Asked Questions about php-symfony

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

FAQPage Schema
How do I set up a Symfony project with strict typing and PHP 8.3 features?

Migrate legacy PHP applications to Symfony by applying strict types, PSR-12 compliance, and PHPStan level 9. This enforces dependency injection and enterprise architecture patterns during the modernization process.

What is the best way to enforce PSR standards and dependency injection in Symfony?

Enforce PSR standards in Symfony by following structured reference patterns for services, controllers, events, and security. This guarantees strict typing and dependency injection usage across the application architecture.

Does this Symfony guidance support PHPStan level 9 compliance?

Yes, the Symfony guidance fully supports PHPStan level 9 compliance. It enforces strict typing and PSR-12 standards to ensure your PHP 8.3+ applications meet enterprise-grade static analysis requirements.

Can I use this approach for both new Symfony projects and migrations?

Yes, you can use this approach for new Symfony projects and migrations. It provides reference patterns for strict typing, PSR-12, and dependency injection suitable for modernizing legacy PHP applications.

Why do I need strict typing and enterprise architecture patterns in Symfony applications?

Strict typing and enterprise architecture patterns in Symfony prevent runtime errors and ensure code maintainability. They enforce PSR standards, dependency injection, and PHPStan level 9 compliance for robust application development.