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

README

Integrate Release Renew

Mutation Score Code Coverage Type Coverage

Latest Stable Version Total Downloads

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.