Decision Workspace
php-printer vs php-ast vs php-rs-parser
Side-by-side comparison of Rust crates
54
php-printer
experimentalv0.21.0
Pretty printer for PHP AST — converts parsed AST back to PHP source code
62
php-ast
experimentalv0.21.0
PHP Abstract Syntax Tree (AST) node definitions
61
php-rs-parser
experimentalv0.21.0
Fast PHP parser producing a typed AST
Core Metrics
| php-printer | php-ast | php-rs-parser | |
|---|---|---|---|
| Health Score | 54 | 62 | 61 |
| Total Downloads | 745 | 9.9K | 8.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 3 | 364 | 220 |
| Releases | 39 | 44 | 44 |
| Last Updated | 10d ago | 10d ago | 10d ago |
| Age | 6m | 6m | 6m |
Health Breakdown
php-printer
Maintenance
18
Quality
13
Community
8
Popularity
3
Documentation
12
php-ast
Maintenance
18
Quality
14
Community
13
Popularity
5
Documentation
12
php-rs-parser
Maintenance
18
Quality
14
Community
12
Popularity
5
Documentation
12
Technical Details
| php-printer | php-ast | php-rs-parser | |
|---|---|---|---|
| Version | 0.21.0 | 0.21.0 | 0.21.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | BSD-3-Clause | BSD-3-Clause | BSD-3-Clause |
| Dependencies | 5 | 3 | 15 |
| Crate Size | 22KB | 70KB | 98KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.88 | 1.88 | 1.88 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •php-ast leads with a health score of 62/100, but none of the options score above 80.
- •php-ast is depended on by 364 crates — strongest ecosystem trust.