PHP Code Analysis

Open-source PHP projects categorized as Code Analysis

Top 23 PHP Code Analysis Projects

  • PHP Parser

    A PHP parser written in PHP

  • Project mention: PHP-Parser: A PHP parser written in PHP | news.ycombinator.com | 2024-03-06
  • PHP CS Fixer

    A tool to automatically fix PHP Coding Standards issues

  • Project mention: 8 Essential Tools Every PHP Developer Needs | dev.to | 2024-02-27

    PHP-CS-Fixer automatically fixes PHP coding standard issues, maintaining a clean codebase and adhering to coding standards. It can be integrated into the development workflow to ensure all code complies with defined standards.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • PHPStan

    PHP Static Analysis Tool - discover bugs in your code without running it!

  • Project mention: Rector keeps your PHP code base fresh and perfect | dev.to | 2024-03-15

    As part of the journey to PHP perfection, you should embrace Rector. It's a amazing, free, and open-source tool for migrations, code quality, type coverage, pushing PHPStan to the highest levels, and yes, it can even auto-fix your existing code! It seamlessly integrates into the CI process, making your development workflow smoother than ever.

  • PHP Code Sniffer

    PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.

  • Project mention: The Future of PHP_CodeSniffer | news.ycombinator.com | 2024-02-17
  • Rector

    Instant Upgrades and Automated Refactoring of any PHP 5.3+ code

  • Project mention: Rector keeps your PHP code base fresh and perfect | dev.to | 2024-03-15

    As part of the journey to PHP perfection, you should embrace Rector. It's a amazing, free, and open-source tool for migrations, code quality, type coverage, pushing PHPStan to the highest levels, and yes, it can even auto-fix your existing code! It seamlessly integrates into the CI process, making your development workflow smoother than ever.

  • phan

    Phan is a static analyzer for PHP. Phan prefers to avoid false-positives and attempts to prove incorrectness rather than correctness.

  • Project mention: 7.4 to 8.x upgrade help | /r/PHP | 2023-04-29

    Besides what others have already advised, you can also get Phan to scan your project. Set the target to 8.1 and let it run its analysis. Check GitHub repo and docs there for more verbose instructions: https://github.com/phan/phan/

  • larastan

    ⚗️ Adds code analysis to Laravel improving developer productivity and code quality.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • GrumPHP

    A PHP code-quality tool

  • Project mention: PHP libraries and tools | dev.to | 2023-10-18

    GrumPHP: A PHP code-quality tool.

  • PHP Metrics

    Beautiful and understandable static analysis tool for PHP

  • PHP Mess Detector

    PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD. PHPMD can be seen as an user friendly frontend application for the raw metrics stream measured by PHP Depend.

  • Project mention: PHP libraries and tools | dev.to | 2023-10-18

    PHPMD - PHP Mess Detector: PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD. PHPMD can be seen as an user friendly frontend application for the raw metrics stream measured by PHP Depend.

  • Phpactor

    Mainly a PHP Language Server with more features than you can shake a stick at

  • Project mention: VSCode for PHP and Laravel | dev.to | 2023-08-20

    # Download phpactor.phar curl -Lo phpactor.phar https://github.com/phpactor/phpactor/releases/latest/download/phpactor.phar

  • Better Reflection

    :crystal_ball: Better Reflection is a reflection API that aims to improve and provide more features than PHP's built-in reflection API.

  • php-language-server

    PHP Implementation of the VS Code Language Server Protocol 🆚↔🖥

  • PHPPHP

    A PHP VM implementation in PHP

  • UBench

    Micro PHP benchmark library

  • PhpDependencyAnalysis

    Static code analysis to find violations in a dependency graph

  • PHP Semantic Versioning Checker

    Compares two source sets and determines the appropriate semantic versioning to apply.

  • Mondrian

    A static php code analysis tool using the Graph Theory (by Trismegiste)

  • Exakat

    The Exakat Engine : smart static analysis for PHP

  • Athletic

    PHP Benchmarking Framework

  • Dissect

    A set of tools for lexical and syntactical analysis written in pure PHP. (by jakubledl)

  • PHP Migration

    A static analyzer for PHP version migration

  • PHPCheckstyle

    PHPCheckstyle is an open-source tool that helps PHP programmers adhere to certain coding conventions.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-03-15.

PHP Code Analysis related posts

Index

What are some of the best open-source Code Analysis projects in PHP? This list will help you:

Project Stars
1 PHP Parser 16,826
2 PHP CS Fixer 12,529
3 PHPStan 12,526
4 PHP Code Sniffer 10,600
5 Rector 8,207
6 phan 5,495
7 larastan 5,181
8 GrumPHP 4,087
9 PHP Metrics 2,432
10 PHP Mess Detector 2,286
11 Phpactor 1,242
12 Better Reflection 1,154
13 php-language-server 1,140
14 PHPPHP 812
15 UBench 566
16 PhpDependencyAnalysis 551
17 PHP Semantic Versioning Checker 424
18 Mondrian 392
19 Exakat 375
20 Athletic 300
21 Dissect 223
22 PHP Migration 201
23 PHPCheckstyle 164
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com