sethsandaru / eloquent-docs

Generate phpDoc for your Eloquent Models with ease

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Batch generating models

sethsandaru opened this issue · comments

New Feature

Introduces a new command eloquent:bulk-phpdoc {location} {--short-class} to batch generating a bunch of phpDoc for models in 1 go.

location would be a glob pattern, eg:

'app/Models/*.php'
'app/Modules/*/Models/*.php'

Notes

This command will do the generation & writing in force mode (always overwrite the old phpDoc), no preview mode (it is just impossible to preview 2+ files.