Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>PHPDoc Generator 2022New to Visual Studio Code? Get it now.
PHPDoc Generator 2022

PHPDoc Generator 2022

Samuel Hinchliffe

|
11,049 installs
| (1) | Free
PHPDoc Generator is a VSCode extension that generates a documentation block using a keyboard shortcut. Note: This is a fork of the original. Just with a few extra features. You can have a signature on every function for example
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

A quick note

This is a fork of the original repo. All this app does is a few little things ontop. See the original app and also checkout the github repo too.

What's new about this?

Now every function you generate can have a signature. You can have a @author signature for each function. You can @copyright for each function. Both with a @see signature so you can direct people towards a link. As well as having a snippet of code that will also display when the comment was generated.

Screen Capture in Action

PHPDoc Generator

PHPDoc Generator is a VSCode extension that generates a PHP documentation block using a keyboard shortcut.

To get PHPDoc Generator to generate PHPDoc block, place the cursor on a line with a class, method or property and press Control+Enter.

Screen Capture in Action

If PHPDoc Generator is unable to accurately detect the data type it will use a general data type. In these situations remember to provide the data type yourself or correct it if it's not accurate.

Keyboard Shortcuts & Settings

Looking for the keyboard shotcuts and settings? Search for phpdoc-generator.

Support

Found a bug? Got a feature request? Create an issue.

License

PHPDoc Generator is open source and licensed under the MIT licence.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft