sasezaki / php-extension-stub-generator
PHP ReflectionExtension's Information Rewind to PHP Code As Stub
0.0.4
2018-02-24 13:57 UTC
Requires
- docopt/docopt: ^1.0
- zendframework/zend-code: ^3
- zendframework/zend-console: ^2.6
Requires (Dev)
- ext-phar: *
- phpunit/phpunit: ^5.6.4
This package is auto-updated.
Last update: 2024-11-11 14:26:26 UTC
README
PHP ReflectionExtension's Information Rewind to PHP Code As Stub.
Purpose
Code Completion under IDE.
USAGE
$ php-extension-stub-generator.phar dump-files {extension name} {dir}
USAGE Example
$ php-extension-stub-generator.phar dump-files ast tmp
$ php -d extension=/home/you/git/nikic_php-ast/modules/ast.so php-extension-stub-generator.phar dump-files ast tmp
BUILDING phar
to build phar, please install box.
$ composer.phar global require kherge/box --prefer-source
and run,
$ php -d phar.readonly=0 ~/.composer/vendor/bin/box build