laravel genrate testing data 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
php artisan make:factory AddressFactory --model="App\\Address"
php artisan make:factory PostFactory