moai-lang-php

Provide expert guidance for PHP 8.3+ development with Laravel 11 and Symfony 7.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/CJ-1981/excel-processor --skill moai-lang-php-cj-1981
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-lang-php
Source: https://github.com/CJ-1981/excel-processor/tree/main/.claude/skills/moai-lang-php
Command: npx skills add https://github.com/CJ-1981/excel-processor --skill moai-lang-php-cj-1981

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires php:8.3, composer:*, phpunit:*, phpstan:*, phpcs:*, artisan:*, laravel:*, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines PHP development, particularly for modern applications using frameworks like Laravel and Symfony, by providing expert guidance, code examples, and best practices.

Core Features & Use Cases

  • Modern PHP Development: Leverage PHP 8.3+ features like readonly classes, enums, and attributes.
  • Framework Expertise: Master Laravel 11 and Symfony 7, including ORMs (Eloquent, Doctrine), routing, and controllers.
  • Testing & Quality: Implement robust testing with PHPUnit and Pest, and ensure code quality with PHPStan and Pint.
  • Use Case: Develop a new API endpoint in a Laravel 11 application, ensuring it follows best practices for controllers, request validation, and Eloquent model interactions.

Quick Start

Generate a Laravel 11 controller for managing user resources with CRUD operations.

Frequently Asked Questions about moai-lang-php

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

FAQPage Schema
How do I create a Laravel 11 API endpoint with proper Eloquent model interactions?

PHP 8.3+ development supports modern framework features like readonly classes and enums. Using Laravel 11 or Symfony 7 with Eloquent or Doctrine ORM ensures robust and scalable PHP applications following current best practices.

How do I implement PHPUnit and Pest testing methodologies for PHP applications?

Implementing PHPUnit and Pest testing in Laravel or Symfony validates API endpoints and Eloquent logic. This skill provides testing methodologies that ensure robust code quality and scalable PHP applications.

Does this PHP development guidance cover both Eloquent and Doctrine ORM?

Yes, this PHP guidance covers both Eloquent and Doctrine ORM within Laravel 11 and Symfony 7. It addresses common development challenges and offers best practices for building scalable PHP applications.

What's the best way to ensure code quality in PHP 8.3 with PHPStan and Pint?

Ensure code quality in PHP 8.3 by integrating PHPStan for static analysis and Pint for formatting. Combined with PHPUnit testing, these tools enforce robust standards across Laravel and Symfony applications.

Can I use this guidance for deploying PHP applications with Docker?

Yes, this guidance covers deployment considerations for PHP applications using Docker. It addresses common development challenges and offers best practices for building scalable applications with Laravel and Symfony.

How do I use readonly classes and enums in modern PHP 8.3 development?

Use readonly classes and enums in PHP 8.3 to enforce immutability and type safety. Leveraging these features within Laravel 11 or Symfony 7 ensures robust and scalable PHP applications.