PHP Language Standards
CommunityModern PHP 8.x coding standards.
Software Engineering#php#strict typing#readonly#language standards#8.x#constructor promotion#match expressions
AuthorMte90
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill enforces modern PHP 8.x language standards and best practices, ensuring code quality, maintainability, and performance.
Core Features & Use Cases
- Strict Typing: Enforces
declare(strict_types=1);for robust type safety. - Modern Syntax: Promotes the use of Constructor Property Promotion,
readonlyproperties, andmatchexpressions. - Type Hinting: Encourages comprehensive scalar, union, and intersection type hinting.
- Use Case: Refactor legacy PHP codebases to adopt modern features, improving code clarity and reducing runtime errors.
Quick Start
Apply strict typing and modern PHP 8.x features to the provided PHP code.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: PHP Language Standards Download link: https://github.com/Mte90/dotfiles/archive/main.zip#php-language-standards Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.