moai-lang-php

Reference PHP 8.3 patterns for Laravel 11 and Symfony 7 applications.

Updated Jan 12, 2026
One-click install
npx skills add https://github.com/windysky/claude_notification_wsl2 --skill moai-lang-php-windysky
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-lang-php
Source: https://github.com/windysky/claude_notification_wsl2/tree/main/.claude/skills/moai-lang-php
Command: npx skills add https://github.com/windysky/claude_notification_wsl2 --skill moai-lang-php-windysky

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a consolidated, practical reference for PHP 8.3+ development using Laravel 11 and Symfony 7, helping teams adopt modern patterns and avoid architectural drift.

Core Features & Use Cases

  • PHP 8.3+ language features coverage: attributes, enums, constructor promotion, readonly classes, and unions.
  • Laravel 11 patterns: Eloquent ORM usage, migrations, resources, controllers, service layer, and testing.
  • Symfony 7 patterns: Doctrine entities, DI, services, routing, and testing approaches.
  • Architecture guidance: clean code organization, API design, and scalable project scaffolding for both Laravel and Symfony.
  • Use Case: rapidly scaffold a robust API with Laravel, or a microservice with Symfony, following consistent, well-documented patterns.

Quick Start

Start by reviewing the moai-lang-php references, then implement a small API module that demonstrates Laravel Eloquent and Symfony Doctrine patterns side by side.

Frequently Asked Questions about moai-lang-php

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

FAQPage Schema
How do I implement modern PHP applications using Laravel 11 and Symfony 7 patterns?

Implement modern PHP applications by applying ready-to-use Laravel 11 and Symfony 7 patterns for architecture, ORM usage, and code organization. This prevents architectural drift and ensures consistent project scaffolding for APIs and enterprise-grade services.

What is the best way to structure a Laravel Eloquent and Symfony Doctrine API side by side?

Structure Laravel Eloquent and Symfony Doctrine APIs side by side by scaffolding a small API module using provided architecture patterns. This demonstrates ORM usage, clean code organization, and service layer integration for both frameworks simultaneously.

Does this PHP reference cover PHP 8.3 features like attributes and enums?

Yes, the PHP reference covers PHP 8.3 features including attributes, enums, constructor promotion, readonly classes, and unions. It integrates these language features directly into Laravel and Symfony framework patterns.

Can I use these Symfony 7 and Laravel 11 patterns for enterprise-grade PHP projects?

Yes, you can use these Laravel 11 and Symfony 7 patterns for enterprise-grade PHP projects. They provide scalable project scaffolding, clean API design, and comprehensive testing and deployment guidance.

How do I scaffold a microservice with Symfony 7 and Doctrine?

Scaffold a Symfony 7 microservice by following documented Doctrine entity patterns, dependency injection, and routing approaches. This ensures consistent architecture and scalable code organization for microservices.

What patterns are provided for Laravel 11 Eloquent ORM usage and testing?

Laravel 11 patterns provided cover Eloquent ORM usage, migrations, resources, controllers, service layer integration, and testing. These guide rapid API development and maintainable code architecture.