Skip to content

Generates IDE stubs for extension modules from PHP Reflection API

License

Notifications You must be signed in to change notification settings

souplette-php/chicot

Repository files navigation

souplette/chicot

codecov

Generates IDE stubs for extension modules using PHP's Reflection API.

Installation

As a Phar archive

Use phive (recommended):

phive install souplette-php/chicot

Alternatively, grab the phar archive from the latest release.

As a composer package

composer require souplette/chicot

Usage

List installed extension modules:

chicot modules

Generate stubs for the core module and writes them to a file named core.stub.php:

chicot stub 'core' 'core.stub.php'