Skip to content

ptondereau/biscuit-php

Repository files navigation

PHP extension for Biscuit

This is a work-in-progress for now

CI

Documentation and specifications

Requirements

  • cargo-php
  • PHP with php-dev installed >= 8.1
  • Rust >= 1.61
  • CLang 5

Generating PHP stubs

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/ptondereau/php-extension-stub-generator to generate with this current usage:

$ cargo build
$ php \
    -dextension=target/debug/libext_biscuit_php.so \
    php-extension-stub-generator.phar dump-files ext-biscuit-php stubs

License

Licensed under Apache License, Version 2.0.

About

PHP extension for Biscuit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published