Decision Workspace
composer-parser vs composer-semver vs composer-php-json
Side-by-side comparison of Rust crates
50
composer-parser
growingv0.2.7
Parses the JSON output of composer outdated
55
composer-semver
experimentalv0.2.0
A faithful Rust port of composer/semver: Composer-flavored Version, Constraint, and Stability — normalize, compare, and match version constraints.
54
composer-php-json
experimentalv0.2.0
Byte-exact PHP json_encode output for the two flag combinations Composer relies on (content-hash + JsonFile::encode).
Core Metrics
| composer-parser | composer-semver | composer-php-json | |
|---|---|---|---|
| Health Score | 50 | 55 | 54 |
| Total Downloads | 11.2K | 2.3K | 1.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 204 | 48 |
| Releases | 13 | 2 | 2 |
| Last Updated | 45d ago | 104d ago | 104d ago |
| Age | 4y 8m | 3m | 3m |
Health Breakdown
composer-parser
Maintenance
14
Quality
14
Community
5
Popularity
5
Documentation
12
composer-semver
Maintenance
12
Quality
14
Community
12
Popularity
4
Documentation
13
composer-php-json
Maintenance
12
Quality
14
Community
11
Popularity
4
Documentation
13
Technical Details
| composer-parser | composer-semver | composer-php-json | |
|---|---|---|---|
| Version | 0.2.7 | 0.2.0 | 0.2.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | EUPL-1.2 | EUPL-1.2 |
| Dependencies | 6 | 3 | 1 |
| Crate Size | 15KB | 30KB | 7KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.94.0 | 1.95 | 1.95 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •composer-semver leads with a health score of 55/100, but none of the options score above 80.
- •composer-parser has the most downloads (11.2K), suggesting wider adoption.
- •composer-semver is depended on by 204 crates — strongest ecosystem trust.