@template-use
@template-use is a recognized alias of @use: it supplies the concrete type arguments for a generic trait pulled in with PHP's use keyword. Both spellings parse to the exact same UseTag instance — @template-use is not a distinct tag, just a different spelling for it, and in practice it is the spelling seen more often in real-world PHPStan and Psalm documentation than the bare @use form.
"@use" <Type> [ <Description> ]
"@template-use" <Type> [ <Description> ]
Both examples above produce an identical UseTag, exposing the same $type — the TypeNode naming the trait with its type arguments — alongside the inherited $name and $description.
See @use for the full description of the tag, its grammar, and its exposed shape.
07 July 2026