Introduction
PHP TrueAsync is a project that implements true asynchrony in PHP by modifying the Zend core, the I/O library, database libraries, socket libraries, and other functions.
PHP TrueAsync implements the transparent asynchrony paradigm without colored functions, which minimizes code changes and eliminates library segmentation. In other words, when using coroutines, you use the same functions without changes or with minimal changes.
IDE support
For autocompletion, inline documentation, and static-analysis stubs, install the dev-only package true-async/ide-helper. It covers the async core, HTTP server, and ClickHouse client, and works with PhpStorm, PHPStan, and Psalm.
bash
composer require --dev true-async/ide-helperHover over a node for details. Click to go to the documentation.