PHP TypeLang Help

Standard Tags

The Standard Tags are the everyday PHPDoc vocabulary — the handful of tags nearly every PHP codebase already uses, and that every major toolchain (phpDocumentor, PHPStan, Psalm, PhpStorm) understands without any configuration. If a docblock carries type information at all, it is almost certainly through one of the tags on this list.

They are grouped here not by which tool invented them, but by the fact that they need no vendor prefix: @param, not @psalm-param; @return, not @phpstan-return. This is the common ground the entire ecosystem shares.

What Belongs Here

The set breaks down into a few families:

Every tag in this group is fully recognized by the parser: it produces a dedicated, typed tag object, and any type it carries is parsed with the same TypeLang grammar used throughout the project. Pick any entry in the sidebar for its exact grammar, the object it produces, and worked examples.

07 July 2026