php-modernizer

Scan PHP codebases for deprecated patterns and generate prioritized TODO lists for PHP 8.4+ modernization.

Updated Dec 19, 2025
One-click install
npx skills add https://github.com/beardcoder/mens-circle --skill php-modernizer
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: php-modernizer
Source: https://github.com/beardcoder/mens-circle/tree/main/.claude/skills/php-modernizer
Command: npx skills add https://github.com/beardcoder/mens-circle --skill php-modernizer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The PHP Modernizer reduces technical debt by scanning and transforming PHP codebases to PHP 8.4+ standards with framework-aware optimizations, delivering cleaner, faster, and future-proof code.

Core Features & Use Cases

  • Scans PHP projects to identify overengineered code, outdated patterns, and framework-specific anti-patterns.
  • Produces a prioritized TODO list with concrete, file-level changes and suggested refactor paths.
  • Supports step-by-step or all-at-once execution, enabling safe, auditable modernization with optional framework-specific optimizations.

Quick Start

Run the PHP Modernizer on your project to generate a concrete modernization plan and begin applying changes.

Frequently Asked Questions about php-modernizer

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

FAQPage Schema
How do I modernize PHP code to PHP 8.4 standards safely?▼

Scan your PHP codebase for deprecated patterns and framework anti-patterns to generate a prioritized TODO list, then apply changes using step-by-step or all-at-once execution modes for safe modernization.

Can I refactor Laravel and Symfony projects with framework-aware optimizations?▼

Yes, you can refactor Laravel, Symfony, and TYPO3 projects by applying framework-aware optimizations that identify framework-specific anti-patterns and produce targeted, file-level refactoring paths.

What is the best way to identify deprecated PHP patterns for refactoring?▼

The best way to identify deprecated PHP patterns is scanning the codebase to detect overengineered code and outdated patterns, producing a prioritized TODO list with concrete file-level changes.

Does PHP code modernization require automatic testing during execution?▼

PHP code modernization does not require automatic testing by default, operating through scan, report, and execute phases to apply framework-aware optimizations safely without mandatory automated test runs.

How do I generate a prioritized TODO list for PHP refactoring?▼

Generate a prioritized TODO list by scanning the project to identify overengineered code and framework-specific anti-patterns, which outputs concrete file-level changes and suggested refactor paths.

When should I use step-by-step execution for PHP codebase modernization?▼

Use step-by-step execution for PHP codebase modernization when you need safe, auditable refactoring, allowing you to review and apply prioritized TODO list items individually rather than all at once.