barryvdh/laravel-ide-helper ? reverse-engineered prompt

Reverse engineered prompt

Build me a Laravel package that improves IDE autocomplete by generating helper PHPDocs from the app itself.

I want it to work with Laravel 10 and newer, and expose artisan commands for generating a helper file for facades and framework methods, plus another command that adds PHPDocs to Eloquent models from their database columns, relationships, and accessors. It should also support a lightweight meta file for container and facade resolution, so editors like PhpStorm can understand things better.

Please make it configurable, so I can change the output file names, choose whether to write docs into the model files or keep them separate, and include extra helper files if needed. It should feel like something I can install with composer and run from the command line, with clear README instructions and sensible defaults.

If you need to look up current Laravel docs or implementation details, go ahead. Keep it clean, practical, and focused on useful autocompletion rather than adding app features.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab