xee-php provides PHP bindings for the Xee XML tools. For now it focuses on XPath support. The implementation is currently incomplete and we're looking for contributors who have more PHP knowledge!
First you need to set up the PHP development
dependency
to get ext-php-rs to compile.
For now the testing procecure is very simple.
Rebuild the extension:
cargo buildBuild PHP stubs which help with IDE support in PHP (optional):
cargo php stubsThen run the test.php test script:
php -d extension=target/debug/libxee_php.so php/test.phpA proper testing strategy needs to be devised, and a proper way to install this as an optimized PHP extension also still needs to be worked out.