mpociot / laravel-test-factory-helper

Generate Laravel test factories from your existing models
935 stars 87 forks source link

uses option to rename ModelFactory file #26

Closed jrmadsen67 closed 5 years ago

jrmadsen67 commented 5 years ago

not the most elegant code but I'll assume people want to keep their factories in the proper factories dir

jasonmccreary commented 5 years ago

I streamlined the package to be more inline with the framework's behavior; that is creating a separate factory for each model. As such, this can likely be closed in favor of PR #28.

Of course if you still want an explicit filename option, it could be re-opened pretty easily.