php-pro

Generate Laravel and Symfony project scaffolding with typed DTOs, controllers, migrations, and tests.

Updated May 14, 2026
One-click install
npx skills add https://github.com/nkseth/copilot-dev-skills --skill php-pro-nkseth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: php-pro
Source: https://github.com/nkseth/copilot-dev-skills/tree/main/skills/php-pro
Command: npx skills add https://github.com/nkseth/copilot-dev-skills --skill php-pro-nkseth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Senior PHP development with Laravel and Symfony often requires strict typing, consistent patterns, and scalable architectures. PHP Pro provides a guided approach to enforce enterprise-grade practices, generate wired components, and streamline API scaffolding.

Core Features & Use Cases

  • Generate typed domain models (DTOs/Entities) and value objects.
  • Create controllers, middleware, migrations, and tests with DI and PSR-12 compliance.
  • Scaffold REST/GraphQL APIs and service layers for Laravel/Symfony projects.

Quick Start

Set up a modern PHP 8.3+ project skeleton with Laravel or Symfony patterns, including strict typing, DI, controllers, migrations, and tests.

Frequently Asked Questions about php-pro

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

FAQPage Schema
How do I scaffold a Laravel or Symfony project with strict typing and PSR-12 compliance?

To scaffold Laravel or Symfony projects with strict typing and PSR-12 compliance, this automates generating typed DTOs, controllers, migrations, and tests using declare(strict_types=1) and dependency injection.

What is the best way to generate typed DTOs and entities for enterprise PHP APIs?

Generating typed DTOs and entities for enterprise PHP APIs requires enforcing strict patterns and scalable architectures. This creates wired domain models, value objects, and service layers that meet PHPStan level 9.

Does this scaffolding tool support both Eloquent and Doctrine for dependency injection?

Yes, this scaffolding tool supports both Eloquent and Doctrine for dependency injection. It generates DI-based architectures with controllers, middleware, and migrations compatible with your chosen ORM.

Can I automate REST and GraphQL API scaffolding for PHP 8.3+ applications?

Yes, you can automate REST and GraphQL API scaffolding for PHP 8.3+ applications. It generates controllers, service layers, and wired components tailored for modern Laravel and Symfony frameworks.

How do I set up a PHP project skeleton that passes PHPStan level 9 checks?

Setting up a PHP project skeleton that passes PHPStan level 9 checks involves enforcing strict typing and consistent enterprise patterns. This generates typed components and tests adhering to strict static analysis rules.

Why do I need declare(strict_types=1) in my PHP controller and migration scaffolding?

Using declare(strict_types=1) in PHP controller and migration scaffolding prevents silent type coercion, ensuring enterprise-grade reliability. This enforces strict typing standards across all generated DTOs and service layers.