Decision Workspace
codegraph-php vs slang_solidity vs php-ast
Side-by-side comparison of Rust crates
40
codegraph-php
experimentalv0.1.2
PHP parser for CodeGraph - extracts code entities and relationships from PHP source files
64
slang_solidity
stablev1.3.9
A modular set of compiler APIs empowering the next generation of Solidity code analysis and developer tooling. Written in Rust and distributed in multiple languages.
62
php-ast
experimentalv0.21.0
PHP Abstract Syntax Tree (AST) node definitions
Core Metrics
| codegraph-php | slang_solidity | php-ast | |
|---|---|---|---|
| Health Score | 40 | 64 | 62 |
| Total Downloads | 73 | 77.2K | 9.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 52 | 364 |
| Releases | 3 | 38 | 44 |
| Last Updated | 251d ago | 24d ago | 10d ago |
| Age | 8m | 3y 6m | 6m |
Health Breakdown
codegraph-php
Maintenance
10
Quality
12
Community
6
Popularity
2
Documentation
10
slang_solidity
Maintenance
17
Quality
18
Community
11
Popularity
6
Documentation
12
php-ast
Maintenance
18
Quality
14
Community
13
Popularity
5
Documentation
12
Technical Details
| codegraph-php | slang_solidity | php-ast | |
|---|---|---|---|
| Version | 0.1.2 | 1.3.9 | 0.21.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Apache-2.0 | MIT | BSD-3-Clause |
| Dependencies | 10 | 7 | 3 |
| Crate Size | 25KB | 161KB | 70KB |
| Features | 0 | 4 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.97.1 | 1.88 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •slang_solidity leads with a health score of 64/100, but none of the options score above 80.
- •php-ast is depended on by 364 crates — strongest ecosystem trust.
- •codegraph-php, php-ast are pre-1.0 — API may change.