php-pro

Scaffold Laravel or Symfony APIs with strict types and PHPStan level 9.

Updated Jan 9, 2026
One-click install
npx skills add https://github.com/dieu-donnee/luxtrax --skill php-pro-dieu-donnee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: php-pro
Source: https://github.com/dieu-donnee/luxtrax/tree/main/.agent/skills/php-pro
Command: npx skills add https://github.com/dieu-donnee/luxtrax --skill php-pro-dieu-donnee

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

PHP developers often struggle to stand up modern, well-typed backend APIs quickly while maintaining framework conformance and test quality. This skill automates scaffolding for Laravel and Symfony projects, enforcing strict types, PHPStan level 9, and PSR standards to reduce boilerplate and errors.

Core Features & Use Cases

  • Framework-agnostic scaffolding for Laravel or Symfony API backends with typed DTOs, controllers, middleware, and DI setup.
  • Testing-ready templates including Pest/PHPUnit tests, and sample migrations to align with production-grade workflows.
  • Quality enforcement via declare(strict_types=1), PSR-12 compliance, and static analysis (PHPStan level 9) integrated into the generation workflow.

Quick Start

Create a Laravel or Symfony API skeleton with strict types, PHPStan level 9, and pre-configured 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 API with strict types and PHPStan?

Scaffolding a Laravel or Symfony API with strict types and PHPStan is automated by generating typed DTOs, controllers, middleware, and migrations. The output enforces declare(strict_types=1), PSR-12 compliance, and PHPStan level 9 static analysis.

Can I use this to generate backend API controllers and database migrations?

Yes, backend API development is fully supported by generating controllers, database migrations, and typed DTOs. It provides framework-agnostic scaffolding for both Laravel and Symfony projects while maintaining production-grade quality standards.

Do I need PHP 8.3 to build modern PHP apps with automated scaffolding?

PHP 8.3 or higher is required to build modern PHP apps using this scaffolding tool. You also need Composer installed alongside either the Laravel or Symfony framework to support the strict typing and PHPStan level 9 enforcement.

What is the best way to set up Pest or PHPUnit testing for a new PHP backend?

Setting up Pest or PHPUnit testing for a new PHP backend is handled by including testing-ready templates during the scaffolding process. This approach aligns controller and DTO generation with production-grade workflows and pre-configured test suites.

Does automated PHP scaffolding work with both Laravel and Symfony frameworks?

Automated PHP scaffolding works with both Laravel and Symfony frameworks without requiring separate configurations. It applies framework-specific dependency injection setup and middleware while enforcing PSR-12 standards across the generated API backend code.