vicebas/php-docblock-generator

There is no license information available for the latest version (1.0.1) of this package.

Generate PHPDoc Blocks in files and Folders

1.0.1 2016-05-09 11:46 UTC

This package is not auto-updated.

Last update: 2024-09-14 18:42:16 UTC


README

This class will generate docblock outline for files/folders.

Use from command line - params:
file/folder - the file or folder you want to docblock (php files)
-r - to have it recursively go through a folder
target function - to docblock only a specific method/function name

Example:
bin/docblock target.php targetFunction
or
bin/docblock target/dir -r targetFunction

Credit to Sean Coates for the getProtos function, modified a little.
http://seancoates.com/fun-with-the-tokenizer