{"id":86263,"library":"friendsofphp-php-cs-fixer","title":"PHP-CS-Fixer","description":"A tool to automatically fix PHP code style","status":"active","version":"3.95.8","language":"php","source_language":null,"source_url":"https://github.com/PHP-CS-Fixer/PHP-CS-Fixer","tags":["coding-standards","code-style","fixer","psr","quality"],"install":[{"cmd":"composer require friendsofphp/php-cs-fixer","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"FixerInterface","correct":"use PhpCsFixer\\Fixer\\FixerInterface;"}],"quickstart":{"code":"use PhpCsFixer\\Config;\nuse PhpCsFixer\\Finder;\n\n$finder = Finder::create()->in(__DIR__);\n$config = new Config();\n$config->setRules(['@PSR12' => true]);\n$config->setFinder($finder);","lang":"php","description":"Configuring PHP-CS-Fixer programmatically"},"warnings":[{"fix":"Use version 2.x if you need PHP 7.0/7.1 support","message":"PHP-CS-Fixer 3.x dropped support for PHP 7.1 and below","severity":"breaking","affected_versions":">=3.0.0"}],"env_vars":null,"search_vec":"'automat':8 'code':11,14,17 'code-styl':16 'coding-standard':13 'cs':3 'fix':9 'fixer':4,19 'php':2,10 'php-cs-fixer':1 'psr':20 'qualiti':21 'standard':15 'style':12,18 'tool':6","created_at":"2026-06-19T07:58:27.681876+00:00","updated_at":"2026-06-19T07:58:27.681876+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/PHP-CS-Fixer/PHP-CS-Fixer","github":"https://github.com/PHP-CS-Fixer/PHP-CS-Fixer","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["build-tool"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}