Decision Workspace
cargo-php vs ext-php-rs vs ext-php-rs-build
Side-by-side comparison of Rust crates
56
cargo-php
growingv0.2.1
Installs extensions and generates stub files for PHP extensions generated with `ext-php-rs`.
63
ext-php-rs
growingv0.16.1
Bindings for the Zend API to build PHP extensions natively in Rust.
51
ext-php-rs-build
experimentalv0.1.1
Build-time PHP detection utilities for ext-php-rs.
Core Metrics
| cargo-php | ext-php-rs | ext-php-rs-build | |
|---|---|---|---|
| Health Score | 56 | 63 | 51 |
| Total Downloads | 27.1K | 753.1K | 449.0K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 136 | 47 |
| Releases | 24 | 62 | 2 |
| Last Updated | 2d ago | 2d ago | 254d ago |
| Age | 4y 10m | 5y 6m | 8m |
Health Breakdown
cargo-php
Maintenance
18
Quality
13
Community
10
Popularity
5
Documentation
10
ext-php-rs
Maintenance
19
Quality
12
Community
15
Popularity
7
Documentation
10
ext-php-rs-build
Maintenance
8
Quality
14
Community
12
Popularity
7
Documentation
10
Technical Details
| cargo-php | ext-php-rs | ext-php-rs-build | |
|---|---|---|---|
| Version | 0.2.1 | 0.16.1 | 0.1.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 9 | 22 | 1 |
| Crate Size | 28KB | 339KB | 4KB |
| Features | 0 | 10 | 0 |
| Yanked % | 0.0% | 6.5% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | — | — |
| Owners | 5 | 5 | 2 |
Links
Quick Verdict
- •ext-php-rs leads with a health score of 63/100, but none of the options score above 80.
- •ext-php-rs is depended on by 136 crates — strongest ecosystem trust.