event-loop
ReactPHP Promises Testing
Our great sponsors
event-loop | ReactPHP Promises Testing | |
---|---|---|
4 | - | |
1,194 | 31 | |
1.0% | - | |
5.3 | 0.0 | |
2 months ago | 7 months ago | |
PHP | PHP | |
MIT License | MIT License |
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.
event-loop
-
Getting started with asynchronous PHP using ReactPHP
ReactPHP has various components, such as the event loop, promise, and streams. When you install ReactPHP, these components and a few more are installed, so you don’t have to install the separately.
-
Where does PHP being single threaded affect performance and can anything be done to make it better?
For that things PHP usually uses external help in form of queues in Redis or other DBs. And then one process which spawn other ones. Did you heard about Event Loop, pcntl_fork() and php-cli from crontab? That solves the whole problem in the world before Fibers.
-
Does PHP really not support asynchronous calls natively?
It can run without an extension, but for best performance, one of libuv, libev or libevent should be installed to accelerate performance, otherwise it uses stream_select() which doesn't require an extension but has worse performance. See https://github.com/reactphp/event-loop#loop-implementations
-
What is best and easiest library (packagist) for async process in PHP?
which package? is it reactphp/event-loop?
ReactPHP Promises Testing
We haven't tracked posts mentioning ReactPHP Promises Testing yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
react-fiber - ReactPHP + ext-fiber
Swoole - 🚀 Coroutine-based concurrency library for PHP
React - Event-driven, non-blocking I/O with PHP.
CodeIgniter - Open Source PHP Framework (originally from EllisLab)
PHP-watcher - Monitor for any changes in your php application and automatically restart it (suitable for async apps).
Yii2 - Yii 2: The Fast, Secure and Professional PHP Framework
excelize - Go language library for reading and writing Microsoft Excel™ (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets
Phalcon - High performance, full-stack PHP framework delivered as a C extension.
socket - Async, streaming plaintext TCP/IP and secure TLS socket server and client connections for ReactPHP.
Laravel - Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things.
swoft - 🚀 PHP Microservice Full Coroutine Framework
CakePHP - CakePHP: The Rapid Development Framework for PHP - Official Repository