A simple command to create factory classes for Laravel 8.x based on your Laravel 7.x factories definitions.
This command performs the following changes:
- Create missing factory classes
- Fill up definition function of the factory class
- Import existing namespaces into factory class
- Replace legacy
factory(Model::class)
withModel::factory()
in factory class