A PHP interpreter written in Rust.
- Core PHP language support
- Standard library extensions (BCMath, JSON, MySQLi, PDO, OpenSSL, Zip, Zlib, etc.)
- CLI interface (
php) - FastCGI Process Manager (
php-fpm)
- Rust (latest stable release)
Clone the repository and build using Cargo:
git clone https://github.com/wudi/php-rs.git
cd php-rs
cargo build --releaseRun a PHP script:
cargo run --bin php -- script.phpInteractive shell:
cargo run --bin phpStart the PHP-FPM server:
cargo run --bin php-fpmRun the test suite:
cargo testThis project is licensed under the MIT License.
Created by AI