The framework that allows us to write PHP extensions using pure and safe Rust whenever possible.
- Documentation: https://docs.rs/phper
- Tutorial: https://docs.rs/phper-doc/
- rust 1.85 or later
- libclang 9.0 or later
- php 7.0 or later
Category | Item | Status |
---|---|---|
OS | Linux | ✅ |
macOS | ✅ | |
Windows | ❌ | |
PHP Version | 7.0 | ✅ |
7.1 | ✅ | |
7.2 | ✅ | |
7.3 | ✅ | |
7.4 | ✅ | |
8.0 | ✅ | |
8.1 | ✅ | |
8.2 | ✅ | |
8.3 | ✅ | |
8.4 | ✅ | |
PHP Mode | NTS | ✅ |
ZTS | ❌ | |
SAPI | CLI | ✅ |
FPM | ✅ | |
Debug | Disable | ✅ |
Enable | ❌ |
See examples.
- apache/skywalking-php - The PHP Agent for Apache SkyWalking, which provides the native tracing abilities for PHP project.