ext-php-rs
php-tokio
ext-php-rs | php-tokio | |
---|---|---|
1 | 5 | |
6 | 303 | |
- | - | |
7.1 | 6.9 | |
7 months ago | about 2 months ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ext-php-rs
-
PHP-Tokio – Use any async Rust library from PHP
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).
php-tokio
-
PHP libraries and tools
PHPTokio: Use any async Rust library from PHP!
- PHP-Tokio – Use any async Rust library from PHP
What are some alternatives?
phabel - PHP transpiler - Write and deploy modern PHP 8 code, today.
ext-php-rs - Bindings for the Zend API to build PHP extensions natively in Rust.
php-async - Experimental asynchronous components for PHP
Psalm - A static analysis tool for finding errors in PHP applications
GrumPHP - A PHP code-quality tool
Money - PHP implementation of Fowler's Money pattern.
tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
Brick\Math - Arbitrary-precision arithmetic library for PHP
Safe - All PHP functions, rewritten to throw exceptions instead of returning false
Brick\Money - A money and currency library for PHP