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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c354610 · Jan 15, 2024

History

31 Commits
Dec 27, 2023
Jan 15, 2024
Dec 27, 2023
Jan 15, 2024
Jan 15, 2024
Jan 15, 2024
Jan 15, 2024
Dec 27, 2023
Dec 27, 2023
Dec 27, 2023
Dec 27, 2023
Jan 15, 2024
Dec 28, 2023
Dec 28, 2023
Dec 27, 2023

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'