Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 837 Bytes

File metadata and controls

33 lines (22 loc) · 837 Bytes

xee-php

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!

Development notes

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 build

Build PHP stubs which help with IDE support in PHP (optional):

cargo php stubs

Then run the test.php test script:

php -d extension=target/debug/libxee_php.so php/test.php

A 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.