Run
composer require --dev lctrs/php-ext-stubs-generatorphp vendor/bin/generate-stubs-for-ext extension_nameBy 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/Please have a look at CHANGELOG.md.
Please have a look at CONTRIBUTING.md.
This package is licensed using the MIT License.
Please have a look at LICENSE.md.