cargo-php- PHP with
php-devinstalled >= 8.1 - Rust >= 1.61
- CLang 5
cargo-php have a builtin feature to generate stubs but it's not finalized and stable enough. We use for the moment https://github.com/sasezaki/php-extension-stub-generator to generate with this current usage:
$ cargo build
$ php \
-dextension=target/debug/libext_redlock_php.so \
php-extension-stub-generator.phar dump-files ext-redlock-php stubshttps://redis.io/docs/reference/patterns/distributed-locks/
- Build for all supported versions of PHP
- Create release artifacts for all PHP versions and OS plaform.