php-pro

Enforce strict typing, DI, and PSR-12 conventions in PHP 8.3+ applications.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/yunusemrgrl/filament-storybook --skill php-pro-yunusemrgrl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: php-pro
Source: https://github.com/yunusemrgrl/filament-storybook/tree/main/.agents/skills/php-pro
Command: npx skills add https://github.com/yunusemrgrl/filament-storybook --skill php-pro-yunusemrgrl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Complex PHP enterprise development often suffers from inconsistent patterns, weak typing, and boilerplate that slows delivery. This Skill provides a structured, opinionated approach for building PHP 8.3+ applications with Laravel or Symfony, enforcing strict types, DI, DTO/value objects, and comprehensive testing scaffolds to boost maintainability and quality.

Core Features & Use Cases

  • Enforces strict typing, PSR-12 conventions, and DI across controllers, services, and domain layers.
  • Generates typed DTOs, value objects, services, repositories, and API scaffolds for REST/GraphQL.
  • Includes templates and guidance for Laravel/Eloquent or Symfony/Doctrine workflows, along with PHPStan level 9 and PHPUnit/Pest testing setups.

Quick Start

Guide the creation of a typed PHP module for Laravel or Symfony with DI, DTOs, tests, and scaffolding.

Frequently Asked Questions about php-pro

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

FAQPage Schema
How do I enforce strict typing and PSR-12 in a Laravel or Symfony project?

You can enforce strict typing and PSR-12 in Laravel or Symfony by applying structured architectural patterns, typed DTOs, and dependency injection across controllers and domain layers to boost maintainability.

What is the best way to scaffold typed DTOs and REST APIs in PHP 8.3?

The best way to scaffold typed DTOs and REST APIs in PHP 8.3 is using opinionated code generation templates that create value objects, services, and repositories with strict type safety.

Can I use PHPStan level 9 and PHPUnit with my Symfony and Laravel workflows?

Yes, you can integrate PHPStan level 9 and PHPUnit/Pest testing setups with both Laravel/Eloquent and Symfony/Doctrine workflows to ensure comprehensive test coverage and code quality.

Does this approach support both Eloquent and Doctrine for enterprise PHP applications?

Yes, this approach supports enterprise PHP applications by providing specific templates and guidance for both Laravel/Eloquent and Symfony/Doctrine database workflows.

Why use typed DTOs and dependency injection in PHP enterprise development?

Typed DTOs and dependency injection are used in PHP enterprise development to eliminate inconsistent patterns and weak typing, replacing slow-delivery boilerplate with maintainable, structured code.

How to set up dependency injection and comprehensive testing scaffolds for PHP modules?

Set up dependency injection and testing scaffolds for PHP modules by generating services, repositories, and typed DTOs alongside pre-configured PHPUnit or Pest testing environments.