Rust PHP

Open-source Rust projects categorized as PHP

Top 3 Rust PHP Projects

  • ext-php-rs

    Bindings for the Zend API to build PHP extensions natively in Rust.

    Project mention: PHP-Tokio – Use any async Rust library from PHP | news.ycombinator.com | 2023-08-27

    The PHP <-> Rust bindings are provided by https://github.com/Nicelocal/ext-php-rs/ (our fork of https://github.com/davidcole1340/ext-php-rs with a bunch of UX improvements :).

    php-tokio's integrates the https://revolt.run event loop with the https://tokio.rs event loop; async functionality is provided by the two event loops, in combination with PHP fibers through revolt's suspension API (I could've directly used the PHP Fiber API to provide coroutine suspension, but it was a tad easier with revolt's suspension API (https://revolt.run/fibers), since it also handles the base case of suspension in the main fiber).

  • phper

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

    Project mention: Extensions written in Rust | /r/PHP | 2023-05-18
  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • phanalist

    Performant static analyzer for PHP, which is extremely easy to use. It helps you catch common mistakes in your PHP code.

    Project mention: Traversing an AST of PHP source code. | dev.to | 2024-01-22

    Phanalist needs a way to detect when we are in the function's scope with the name tooComplex(). With pattern matching, it is super easy to detect if the statement is either: if,else,etc.. The first statement that I want to match for is class Index{ and from there, we will continue down the tree. If you think the same way as I do you know that I will be using recursion to calculate the cyclomatic complexity. After we have matched the scope of the tooComplex() function.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-01-22.

Rust PHP related posts

Index

What are some of the best open-source PHP projects in Rust? This list will help you:

Project Stars
1 ext-php-rs 524
2 phper 251
3 phanalist 99
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com