factory-generator icon indicating copy to clipboard operation
factory-generator copied to clipboard

Support generation of nested factories

Open jasonmccreary opened this issue 4 years ago • 0 comments

Right now this package only looks within the specific folder. It does not traverse into deeper directories. This issue aims to address that by searching within the subfolders and generating factories which mirror the structure.

For example, an app/Models/Blog/Comment.php model should be found and generate an database/factories/Blog/CommentFactory.php factory.

jasonmccreary avatar Oct 01 '20 14:10 jasonmccreary