PHP_CodeSniffer

1

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.

Category MCP Servers
Added Mar 28, 2026
Views 43

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.

Log In to Claim

Share This Project

Embed Badge

Add this badge to your README:

[![Listed on AiList](https://hifriendbot.com/ai-list/badge/php_codesniffer.svg)](https://hifriendbot.com/ai-list/php_codesniffer/)
Listed on AiList

List Your Project

Join the directory Ai agents read. Free forever.

Submit Your Project