sota-php

Enforce PHP 8.3+ security, performance, and coding standards with PHPStan and Psalm.

12|2|Updated Jun 17, 2026
One-click install
npx skills add https://github.com/martinholovsky/SOTA-skills --skill sota-php
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sota-php
Source: https://github.com/martinholovsky/SOTA-skills/tree/main/skills/sota-php
Command: npx skills add https://github.com/martinholovsky/SOTA-skills --skill sota-php

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires PHPStan, Psalm, Composer, PHP, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill helps engineers build and audit PHP code, ensuring adherence to modern standards and best practices.

Core Features & Use Cases

  • Build Mode: Ensures code quality, security, and performance compliance by enforcing modern PHP practices, security measures, and performance optimizations.
  • Audit Mode: Analyzes existing code to identify non-compliance, potential vulnerabilities, and areas for improvement.
  • Use Case: Use this Skill to review a PHP application and automatically check for OWASP vulnerabilities, security lapses, and adherence to PHP best practices.

Quick Start

Run the sota-php skill on your PHP codebase to start auditing and enforce best practices.

Frequently Asked Questions about sota-php

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

FAQPage Schema
How do I automate PHP code review for security vulnerabilities and performance?

Automate PHP code review by running an audit mode that analyzes existing code to identify non-compliance, potential OWASP vulnerabilities, and areas for improvement using static analysis tools.

Can I use PHPStan and Psalm together to enforce modern PHP coding standards?

Yes, you can use PHPStan and Psalm together to enforce 2026 state-of-the-art PHP coding standards, ensuring code quality, security, and performance compliance across your application.

What is the minimum PHP version required for state-of-the-art static analysis?

The minimum requirement for state-of-the-art static analysis is PHP 8.3+. You also need Composer installed to manage dependencies and run the underlying analysis tools effectively.

How do I check my PHP application for OWASP vulnerabilities automatically?

Check your PHP application for OWASP vulnerabilities automatically by running an audit process that reviews the codebase to identify security lapses and adherence to modern best practices.

Does this static analysis approach work with existing PHP codebases?

Yes, static analysis works with existing PHP codebases through an audit mode that identifies non-compliance, potential vulnerabilities, and areas for improvement without requiring immediate code changes.

What is the best way to ensure PHP performance optimization during code review?

The best way to ensure PHP performance optimization during code review is to use a build mode that automatically enforces performance optimizations alongside security measures and modern coding standards.