lctrs / php-ext-stubs-generator
This package is abandoned and no longer maintained.
No replacement package was suggested.
Generate stubs for any PHP extension.
0.2.0
2021-09-08 13:38 UTC
Requires
- php: ^8.0.0
- nikic/php-parser: ^4.12.0
- nyholm/sunflower: ^0.2.1
- ondrejmirtes/better-reflection: ^4.3.67
- symfony/console: ^5.3.7
- symfony/runtime: ^5.3.4
- thecodingmachine/safe: ^1.3.3
Requires (Dev)
- doctrine/coding-standard: ^9.0.0
- ergebnis/composer-normalize: ^2.15.0
- ergebnis/license: ^1.1.0
- phpstan/extension-installer: ^1.1.0
- phpstan/phpstan: ^0.12.98
- phpstan/phpstan-deprecation-rules: ^0.12.6
- phpstan/phpstan-phpunit: ^0.12.22
- phpstan/phpstan-strict-rules: ^0.12.11
- phpstan/phpstan-symfony: ^0.12.44
- phpunit/phpunit: ^9.5.9
- psalm/plugin-phpunit: ^0.16.1
- psalm/plugin-symfony: ^3.0.3
- symplify/config-transformer: ^9.4.59
- thecodingmachine/phpstan-safe-rule: ^1.0.1
- vimeo/psalm: ^4.10.0
This package is auto-updated.
Last update: 2023-05-14 20:25:08 UTC
README
Installation
Run
composer require --dev lctrs/php-ext-stubs-generator
Usage
php vendor/bin/generate-stubs-for-ext extension_name
By default, the command will places the generated stubs in a directory named stubs/
at the root of the project.
You can change the name of this directory by passing a --target
option to the command as below (nested directories are supported) :
php vendor/bin/generate-stubs-for-ext extension_name --target src/stubs/
Changelog
Please have a look at CHANGELOG.md
.
Contributing
Please have a look at CONTRIBUTING.md
.
License
This package is licensed using the MIT License.
Please have a look at LICENSE.md
.