30 releases
new 0.15.1 | Feb 28, 2025 |
---|---|
0.14.1 | Jan 7, 2025 |
0.13.1 | Jan 12, 2024 |
0.13.0 | Nov 24, 2023 |
0.1.0 | Dec 21, 2019 |
#207 in Development tools
665 downloads per month
Used in 2 crates
210KB
4.5K
SLoC
PHPER (PHP Enjoy Rust)
Rust ❤️ PHP
The framework that allows us to write PHP extensions using pure and safe Rust whenever possible.
Documentation & Tutorial
- Documentation: https://docs.rs/phper
- Tutorial: https://docs.rs/phper-doc/
Requirement
Necessary
- rust 1.85 or later
- libclang 9.0 or later
- php 7.0 or later
Tested Support
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 | ❌ |
Examples
See examples.
The projects using PHPER
- apache/skywalking-php - The PHP Agent for Apache SkyWalking, which provides the native tracing abilities for PHP project.
License
Dependencies
~1–4MB
~76K SLoC