SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 PHP Code Analysis Projects
-
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.
-
PHP Code Sniffer
PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
-
phan
Phan is a static analyzer for PHP. Phan prefers to avoid false-positives and attempts to prove incorrectness rather than correctness.
-
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.
-
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.
-
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 Semantic Versioning Checker
Compares two source sets and determines the appropriate semantic versioning to apply.
-
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
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.
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.
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.
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/
GrumPHP: A PHP code-quality tool.
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.
# Download phpactor.phar curl -Lo phpactor.phar https://github.com/phpactor/phpactor/releases/latest/download/phpactor.phar
PHP Code Analysis related posts
- Rector keeps your PHP code base fresh and perfect
- PHP-Parser: A PHP parser written in PHP
- 8 Essential Tools Every PHP Developer Needs
- The Future of PHP_CodeSniffer
- Laravel code-quality tools
- Starting with Rector PHP: Improving Your PHP Code with Automation
- PHP_CodeSniffer update (package name will NOT be changing... just the repo & ownership)
-
A note from our sponsor - SaaSHub
www.saashub.com | 19 Apr 2024
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 |