PHP 8.2+ with PHPStan & PSR Standards

Community

Robust PHP 8.2 development with static analysis.

AuthorGoldziher
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill ensures high-quality, maintainable PHP code by enforcing modern standards, strict typing, and comprehensive static analysis, reducing bugs and improving developer productivity.

Core Features & Use Cases

  • Modern PHP: Leverages PHP 8.2+ features and strict typing.
  • Type Safety: Uses ext-php-rs for safe Rust FFI bindings.
  • Code Quality: Enforces PSR standards, PHPStan level max, and strict coding practices.
  • Dependency Management: Uses Composer with locked dependencies.
  • Testing: Integrates PHPUnit with high coverage requirements.
  • Use Case: Develop a new microservice API in PHP, ensuring all code adheres to strict quality and type-safety standards from the outset.

Quick Start

Initialize a new PHP project using Composer and configure PHPStan for static analysis.

Dependency Matrix

Required Modules

composer

Components

scriptsreferences

💻 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 8.2+ with PHPStan & PSR Standards
Download link: https://github.com/Goldziher/spikard/archive/main.zip#php-8-2-with-phpstan-psr-standards

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.