runni / true-async-ide-helper
IDE stub files for the TrueAsync PHP extension.
v0.1.0
2026-05-17 22:46 UTC
Requires
- php: >=8.6.0
README
IDE stub files for the TrueAsync v0.6 PHP extension
Full documentation is available at https://true-async.github.io
Provides PHPDoc-annotated stubs for all TrueAsync classes, interfaces, enums, exceptions, and global functions. Gives PhpStorm, PHPStan, and Psalm autocompletion, type inference, and inline documentation
Installation
composer require --dev runni/true-async-ide-helper
PhpStorm
No configuration needed
PHPStan
Add to phpstan.neon:
parameters: scanDirectories: - vendor/runni/true-async-ide-helper/src
Or use stub files directly:
parameters: stubFiles: - vendor/runni/true-async-ide-helper/src/Cancellation.php - vendor/runni/true-async-ide-helper/src/Async/functions.php
Psalm
Add to psalm.xml:
<stubs> <directory name="vendor/runni/true-async-ide-helper/src"/> </stubs>