laravel-factory-generator
laravel-factory-generator copied to clipboard
Model factory generator for Laravel 6.x, 7.x, 8.x, 9.x.
https://laravel-news.com/laravel-9-18-0 https://laravel.com/docs/9.x/helpers#method-fake so ```php 'name' => $this->faker->name ``` can now be shortened to ```php 'name' => fake()->name ``` [version_compare](https://www.php.net/manual/en/function.version-compare.php) ```php version_compare(app()->version(), '9.18.0', '>='); ``` :)
Hello, in Laravel 11 they removed dependency on doctrine/dbal and factory generator doesn't work correctly. It cannot get table structure anymore because it used DBAL before. So there is an...
It doesn't work on a modular laravel project.