laravel 8 faker use faker in unit test 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