Laravel Populated Factor provides an easy way to generate populated factories for models according to types & names of their columns.

laravel factory

Install

You can install this package via composer using this command:

composer require coderello/laravel-populated-factory

Source Code

https://github.com/coderello/laravel-populated-factory