faker generator laravel code example
Example 1: random number laravel faker
$faker->numerify('###-###-####');
// "766-620-7004"
$faker->numerify('##########');
// "3579786681"
Example 2: laravel faker example
php artisan make:factory PostFactory --model=Post
Example 3: laravel faker example
php artisan make:factory PostFactory