SHORTLIST20
한국어
Englishالعربية中文日本語한국어EspañolFrançaisहिन्दी
프로그래밍

PHP code analysis tools

PHP static analysis and code quality tools, ranked by GitHub stars

업데이트 · GitHub stars (stars)

왜 이 20개인가

Ranked by GitHub stars: how many developers bookmarked the project. Stars measure attention, not quality, so each row also shows forks, licence and the last push. Tools without a public repository have no star count and can't be ranked here.

이 리스트가 유용한가요?
  1. 1

    PHP Parser

    A PHP parser written in PHP.

    17,485 stars 1,146 forkslast push 2026-11-05PHPBSD-3-Clause

  2. 2

    PHPStan

    A PHP Static Analysis Tool.

    14,164 stars 972 forkslast push 2026-11-21PHPMIT

  3. 3

    PHP CS Fixer

    A coding standards fixer library.

    13,582 stars 1,656 forkslast push 2026-11-20PHPMIT

  4. 4

    Rector

    A tool to upgrade and refactor code.

    10,516 stars 744 forkslast push 2026-11-21PHPMIT

  5. 5

    Larastan

    A PHPStan wrapper for Laravel that adds static analysis to Laravel projects.

    6,556 stars 532 forkslast push 2026-11-19PHPMIT

  6. 6

    Psalm

    A static analysis tool for finding errors in PHP applications.

    5,933 stars 736 forkslast push 2026-11-21PHPMIT

  7. 7

    phan

    A static analyzer based on PHP 7+ and the php-ast extension.

    5,619 stars 368 forkslast push 2026-11-21PHPNOASSERTION

  8. 8

    GrumPHP

    A PHP code-quality tool.

    4,318 stars 449 forkslast push 2026-11-20PHPMIT

  9. 9

    carthage-software/mago

    Mago is a toolchain for PHP that aims to provide a set of tools to help developers write better code.

    3,564 stars 224 forkslast push 2026-11-20RustApache-2.0

    다른 리스트: #8 Rust linters and code quality tools, ranked by GitHub stars

  10. 10

    Laravel Pint

    A coding standards fixer library for Laravel.

    3,176 stars 204 forkslast push 2026-11-11PHPMIT

  11. 11

    Deptrac

    A static analysis tool for enforcing dependency rules between architectural layers.

    3,057 stars 157 forkslast push 2026-09-20PHPMIT

  12. 12

    PHP Metrics

    A static metric library.

    2,619 stars 262 forkslast push 2026-08-21PHPMIT

  13. 13

    PHP Mess Detector

    A library that scans code for bugs, sub-optimal code, unused parameters and more.

    2,464 stars 361 forkslast push 2026-11-10PHPBSD-3-Clause

  14. 14

    PHPCompatibility

    A PHP compatibility checker for PHP CodeSniffer.

    2,316 stars 204 forkslast push 2026-11-20PHPLGPL-3.0

  15. 15

    Phpactor

    PHP completion, refactoring and introspection tool.

    1,931 stars 168 forkslast push 2026-11-19PHPMIT

  16. 16

    PHP CodeSniffer

    A library that detects and can auto-fix PHP, CSS and JS coding standard violations.

    1,574 stars 120 forkslast push 2026-11-21PHPBSD-3-Clause

  17. 17

    PHPDoc Parser

    Next-gen phpDoc parser with support for intersection types and generics.

    1,544 stars 81 forkslast push 2026-11-16PHPMIT

  18. 18

    PHP Architecture Tester

    Easy-to-use architecture testing tool for PHP.

    1,291 stars 61 forkslast push 2026-11-02PHPMIT

  19. 19

    Better Reflection

    An AST-based reflection library that allows analysis and manipulation of code.

    1,247 stars 138 forkslast push 2026-11-21PHPMIT

  20. 20

    Iter

    A library that provides iteration primitives using generators.

    1,145 stars 70 forkslast push 2026-09-23PHPNOASSERTION

측정 방법

Every tool in the Code Analysis, Code Quality, Static Analysis, Architectural section(s) of the community list ziadoz/awesome-php on GitHub with a public repository, ranked by GitHub stars from the GitHub API; archived repositories are left out. Added by the daily list generator.

참고 자료

  1. ziadoz/awesome-php: Code Analysis, Code Quality, Static Analysis, Architectural, GitHub community list (list text CC0/MIT per repository; star counts from the GitHub API). Checked 2026-11-21 18:54 UTC.
  2. ziadoz/awesome-php (Code Analysis, Code Quality, Static Analysis, Architectural), GitHub community list, 35 tools with a public repository.