tideways/ext-tideways-stubs

IDE stubs for Tideways Profiler PHP extension

Installs: 987 744

Dependents: 6

Suggesters: 0

Security: 0

Stars: 3

Watchers: 3

Forks: 3

Open Issues: 0

pkg:composer/tideways/ext-tideways-stubs

v5.6.0.1 2023-10-20 18:10 UTC

This package is auto-updated.

Last update: 2025-10-03 23:39:43 UTC


README

Install with

composer require --dev tideways/ext-tideways-stubs

PHPStan

The stubs can be used to improve the PHPStan analysis when using classes from the Tideways extension. In order to do so, add the stub to your phpstan.neon:

parameters:
    stubFiles:
        - vendor/tideways/ext-tideways-stubs/stubs/Tideways.php

See: https://phpstan.org/user-guide/stub-files

However, if you want to be able to run PHPStan even without the tideways extension installed, add the stub file to scanFiles instead.

parameters:
    scanFiles:
        - vendor/tideways/ext-tideways-stubs/stubs/Tideways.php