Download the PHP package automattic/jetpack-stub-generator without Composer
On this page you can find all versions of the php package automattic/jetpack-stub-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download automattic/jetpack-stub-generator
More information about automattic/jetpack-stub-generator
Files in automattic/jetpack-stub-generator
Package jetpack-stub-generator
Short Description Extract stubs for specific functions/classes/etc from a codebase.
License GPL-2.0-or-later
Informations about the package jetpack-stub-generator
stub-generator
Extract stubs for specific functions/classes/etc from a codebase.
This is intended for situations where you want stubs for specific parts of a large code base. If you want to extract stubs for everything, something like php-stubs/generator might work better for you.
Usage
This is a fairly simple command-line application:
Options
--json : Definition file is JSON rather than PHP.
--output <file> : Write the stubs to the specified file, rather than to standard output.
Definition file
The definition file specifies which stubs are extracted from which files, and some other configuration.
The annotated example here is in PHP format. Equivalent JSON structure may be used with the --json
flag.
Security
Need to report a security vulnerability? Go to https://automattic.com/security/ or directly to our security bug bounty site https://hackerone.com/automattic.
License
stub-generator is licensed under GNU General Public License v2 (or later)
All versions of jetpack-stub-generator with dependencies
composer/xdebug-handler Version ^3.0.4
nikic/php-parser Version ^5.3
phpstan/phpdoc-parser Version ^2.0
symfony/console Version ^5.4 || ^6.4 || ^7.1