#bindings #run-time #php-sys


Rust bindings for the PHP runtime

1 unstable release

0.1.0 Jan 29, 2019

#1095 in #run-time

MIT license

266 lines

libphp rust bindings

Build Status

A binding to libphp from rust. It is pulling out the php-sys from hjr3's project, and adds some rusty wrapping around it to reduce the boilerplate and need for unsafe.


A big thanks to Sara Goleman and her book Extending and Embedding PHP. Also thanks to the people that created bindgen. And most of all to @hjr3 for publishing php-rpm which a lot of the code came form.


Licensed under either of


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


~38K SLoC