PHP_CodeSniffer
Integrates PHP_CodeSniffer and PHP Code Beautifier tools to analyze coding standard violations and automatically fix code style issues with flexible configuration and robust error handling.
About
A lightweight MCP server that exposes PHP_CodeSniffer (phpcs) and PHP Code Beautifier and Fixer (phpcbf) tools for code quality analysis and automatic fixing. Built with zero external dependencies using only native PHP, it provides two core tools: phpcs_check for running coding standard violations analysis with formatted JSON output, and phpcbf_fix for automatically fixing code style issues. The implementation features flexible configuration through environment variables, JSON config files, or automatic ruleset discovery, supports custom coding standards, and includes robust process execution with proper error handling, making it useful for AI-assisted PHP code review, automated code quality checks, and maintaining consistent coding standards across PHP projects.
Is this your product? Claim this listing with an email at your domain to post updates.
Is this your project?
Claim this listing to manage your page, access analytics, and unlock upgrades. Verification takes 60 seconds.
Share This Project
Embed Badge
Add this badge to your README:
[](https://hifriendbot.com/ai-list/php_codesniffer/)
