{"id":43146752,"url":"https://github.com/php-collective/awesome-php-sniffers","last_synced_at":"2026-01-31T23:48:24.575Z","repository":{"id":258563114,"uuid":"718877706","full_name":"php-collective/awesome-php-sniffers","owner":"php-collective","description":"PHP Code Sniffers/Fixers of various focus areas and styles","archived":false,"fork":false,"pushed_at":"2024-10-17T15:19:40.000Z","size":10,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-20T15:41:48.885Z","etag":null,"topics":["code-style","coding-standards","php-codesniffer","php-codesniffer-rules","php-cs-fixer","php-cs-fixer-ruleset","phpcs","psr-12","psr-2","ruleset"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/php-collective.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-15T01:10:52.000Z","updated_at":"2024-10-19T01:27:01.000Z","dependencies_parsed_at":"2024-10-19T15:41:15.716Z","dependency_job_id":null,"html_url":"https://github.com/php-collective/awesome-php-sniffers","commit_stats":null,"previous_names":["php-collective/awesome-php-sniffers"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/php-collective/awesome-php-sniffers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-collective%2Fawesome-php-sniffers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-collective%2Fawesome-php-sniffers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-collective%2Fawesome-php-sniffers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-collective%2Fawesome-php-sniffers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/php-collective","download_url":"https://codeload.github.com/php-collective/awesome-php-sniffers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-collective%2Fawesome-php-sniffers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28961124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T23:03:11.038Z","status":"ssl_error","status_checked_at":"2026-01-31T22:56:44.691Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-style","coding-standards","php-codesniffer","php-codesniffer-rules","php-cs-fixer","php-cs-fixer-ruleset","phpcs","psr-12","psr-2","ruleset"],"created_at":"2026-01-31T23:48:23.868Z","updated_at":"2026-01-31T23:48:24.565Z","avatar_url":"https://github.com/php-collective.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Awesome PHP Sniffers\n\nA curated list of amazingly awesome PHP Coding Standards \u0026 Code Sniffers/Fixers of various focus areas and styles.\n\nOrder is alphabetical.\n\n## Table of Contents\n\n- [Tools](#tools)\n- [Code Sniffers/Fixers](#code-sniffersfixers)\n  - [Framework specific](#framework-specific)\n  - [Other](#other)\n  - [Helpers](#helpers)\n- [Resources](#resources)\n\n# Tools\n\n- [PHP_CodeSniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) - Tokenizer based sniffer and fixer tool for various PHP Coding standards.\n- [PHP-CS-Fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) - A tool to automatically fix PHP Coding Standards issues.\n\n# Code Sniffers/Fixers\n\n## Framework specific\n*Coding standards for a specific framework*\n\n- [CakePHP](https://github.com/cakephp/cakephp-codesniffer) - Official package for CakePHP.\n- [Laminas](https://github.com/laminas/laminas-coding-standard) - The coding standard ruleset for Laminas components.\n- [Laravel](https://github.com/InteractionDesignFoundation/coding-standard) - PHPCS coding-standard for Laravel applications and packages.\n- [WordPress/WordPress-Coding-Standards](https://github.com/WordPress/WordPress-Coding-Standards) - PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions. \n\n## Other\n*Collection of packages for the tools listed above*\n\n- [easy-coding-standard/easy-coding-standard](https://github.com/easy-coding-standard/easy-coding-standard) - Prepared sets for both PHPCS and PHP-CS-Fixer.\n- [php-collective/code-sniffer](https://github.com/php-collective/code-sniffer) - A powerful and opioniated sniffer ruleset on top of existing PSRs.\n- [PHPCompatibility/PHPCompatibility](https://github.com/PHPCompatibility/PHPCompatibility) - Collection of sniffer rules.\n- [PHPCSStandards/PHPCSExtra](https://github.com/PHPCSStandards/PHPCSExtra) - A collection of code standards and sniffers for use with PHP_CodeSniffer.\n- [slevomat/coding-standard](https://github.com/slevomat/coding-standard) - Provides many useful sniffs.\n- [webimpress/coding-standard](https://github.com/webimpress/coding-standard) - Webimpress Coding Standard for PHPCS.\n\n## Helpers\n*Helper utilities or libraries around the use of sniffer or fixer collections*\n\n- [PHPCSStandards/PHPCSUtils](https://github.com/PHPCSStandards/PHPCSUtils) - A suite of utility functions for use with PHP_CodeSniffer.\n\n# Resources\n\n- [PSR-1](https://www.php-fig.org/psr/psr-1/) - Basic Coding Standard.\n- [PSR-2](https://www.php-fig.org/psr/psr-2/) - Coding Style Guide {deprecated}.\n- [PSR-12](https://www.php-fig.org/psr/psr-12/) - Extends, expands and replaces PSR-2, the coding style guide.\n- [PER 2.0](https://www.php-fig.org/per/coding-style/) - Latest successor of PSR standards (extends, expands and replaces PSR-12).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-collective%2Fawesome-php-sniffers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphp-collective%2Fawesome-php-sniffers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-collective%2Fawesome-php-sniffers/lists"}