Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mcbates's avatar

How to autocomplete factory state arguments to Laravel IDE helper via PHPDoc?

I tend to forget how I call my factory states and would love my IDE (VSCode) to suggest argument autocompletions.

I fail to find an explanation on how to do this via PHPDoc and/or Laravel IDE Helper. Extra points for a way to add them in a helper file and not the factory files themselves.

0 likes
0 replies

Please or to participate in this conversation.