souplette / chicot
Generates IDE stubs for extensions from PHP Reflection API
0.2.0
2024-01-15 15:01 UTC
Requires
- php: >=8.3
- composer-runtime-api: ^2.2
- nikic/php-parser: ^4.18
- psr/log: ^3.0
- symfony/console: ^7.0
README
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'