php-transform
CommunityModernize PHP code with Space-Utils.
Authornashgao
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the modernization of PHP code by transforming it to adopt Space-Utils patterns and functions, improving code quality and maintainability.
Core Features & Use Cases
- Automated Code Transformation: Replaces legacy function calls with Space-Utils equivalents.
- Pattern Modernization: Updates code to use modern PHP constructs and Space-Utils paradigms.
- Type Safety Enforcement: Adds type hints and return types where appropriate.
- Use Case: Refactor a large PHP codebase to use
SpaceUtils::request()->get('param')instead of$_GET['param']andisset().
Quick Start
Run the php-transform command on the file src/Model/User.php to apply transformations.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 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-transform Download link: https://github.com/nashgao/mqtt-client/archive/main.zip#php-transform 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.