event-loop
PHP-watcher
Our great sponsors
event-loop | PHP-watcher | |
---|---|---|
4 | 1 | |
1,194 | 393 | |
1.0% | - | |
5.3 | 0.0 | |
2 months ago | over 2 years ago | |
PHP | PHP | |
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?
PHP-watcher
-
An improvement on the built-in server
Could you also use something like https://github.com/seregazhuk/php-watcher to implement livereload in PHP and remove npm dependency?
What are some alternatives?
react-fiber - ReactPHP + ext-fiber
Ansible - Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.
React - Event-driven, non-blocking I/O with PHP.
Vagrant - Vagrant is a tool for building and distributing development environments.
ReactPHP Promises Testing - PHPUnit assertions for testing ReactPHP promises
PuPHPet - Vagrant/Puppet GUI
excelize - Go language library for reading and writing Microsoft Excel™ (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets
SaltStack - Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:
socket - Async, streaming plaintext TCP/IP and secure TLS socket server and client connections for ReactPHP.
Phansible - Phansible - generate Vagrant + Ansible dev environments for PHP
Puppet - Server automation framework and application
Protobox - Protobox is vagrant web GUI