/phper

The framework that allows us to write PHP extensions using pure and safe Rust whenever possible.

Primary LanguageRustOtherNOASSERTION

PHPER (PHP Enjoy Rust)

CI Crates Docs License

Rust ❤️ PHP

The framework that allows us to write PHP extensions using pure and safe Rust whenever possible.

Documentation & Tutorial

Requirement

Necessary

  • rust 1.65 or later
  • libclang 9.0 or later
  • php 7.0 or later

Tested Support

  • OS
    • linux
    • macos
    • windows
  • PHP
    • version
      • 7.0
      • 7.1
      • 7.2
      • 7.3
      • 7.4
      • 8.0
      • 8.1
      • 8.2
      • 8.3
    • mode
      • nts
      • zts
    • sapi
      • cli
      • fpm
    • debug
      • disable
      • enable

Examples

See examples.

The projects using PHPER

  • apache/skywalking-php - The PHP Agent for Apache SkyWalking, which provides the native tracing abilities for PHP project.

License

MulanPSL-2.0.