IDE Stubs for PHPStorm

When using the APIs of the Tideways extension inside an IDE (such as PHPStorm) then the Composer package tideways/ext-tideways-stubs adds the ability to auto-complete the API of Tideways\Profiler and Tideways\Profiler\Span classes.

Install the IDE stubs with Composer:

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

In PHPStorm an autocomplete attempt on these classes then shows all available methods:

PHPStorm Autocomplete for Tideways\Profiler
Still need help? Email [email protected]