phper icon indicating copy to clipboard operation
phper copied to clipboard

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

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.79 or later
  • libclang 9.0 or later
  • php 7.0 or later

Tested Support

  • OS
    • [x] linux
    • [x] macos
    • [ ] ~~windows~~
  • PHP
    • version
      • [x] 7.0
      • [x] 7.1
      • [x] 7.2
      • [x] 7.3
      • [x] 7.4
      • [x] 8.0
      • [x] 8.1
      • [x] 8.2
      • [x] 8.3
    • mode
      • [x] nts
      • [ ] ~~zts~~
    • sapi
      • [x] cli
      • [x] fpm
    • debug
      • [x] 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.