runni/true-async-ide-helper

IDE stub files for the TrueAsync PHP extension.

Maintainers

Package info

github.com/Runnin4ik/true-async-ide-helper

pkg:composer/runni/true-async-ide-helper

Transparency log

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0 2026-05-17 22:46 UTC

This package is auto-updated.

Last update: 2026-06-17 23:03:06 UTC


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>