mpociot / laravel-test-factory-helper

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

Support for Laravel 8 #58

Closed jxlwqq closed 3 years ago

jxlwqq commented 4 years ago

'>=6.0' is better?

tanerkay commented 3 years ago

Note this completely ignores the Laravel 8 changes.

Factories that are generated by this package will need to be updated to be classes with namespaces and a definition() method.

See https://laravel.com/docs/8.x/database-testing#writing-factories

tanerkay commented 3 years ago

Also see https://github.com/mpociot/laravel-test-factory-helper/issues/55