piovezanfernando/laravel-api-auto-docs ? reverse-engineered prompt
Reverse engineered prompt
Build me a Laravel package that automatically generates API documentation from my existing app, so I don’t have to write docs by hand.
It should read my form request validation rules, controller PHPDoc summaries and descriptions, and my Laravel routes, then turn all of that into a clean documentation site with a modern Vue 3 interface. I want light and dark mode, an easy way to open the docs in the browser, and the ability to export an OpenAPI 3.0 JSON file.
Please also include support for showing request and response details, authorization headers, logs, SQL queries, query timing, memory usage, and Eloquent events in the UI. Make it configurable so I can hide certain routes, choose middleware protection, and change the title and default headers.
If anything needs current Laravel or OpenAPI behavior checked, look up the latest docs online.
Are you gonna build this?
make sure you review the code using coderabbit