PHP TypeLang Help

@psalm-require-extends

The @psalm-require-extends tag constrains a trait so that it may only be used within a class that extends the given type. It is Psalm's vendor-prefixed spelling of @require-extends, which this component already recognizes bare.

This library recognizes it as an alias: it parses identically to the canonical tag above and produces the exact same tag instance, keeping the vendor-prefixed name it was written with.

Defined by Psalm.

07 July 2026