laravel factory to array code example
Example 1: php artisan make factory
php artisan make:factory AddressFactory --model="App\\Address"
Example 2: laravel faker example
php artisan make:factory PostFactory --model=Post
php artisan make:factory AddressFactory --model="App\\Address"
php artisan make:factory PostFactory --model=Post