php faker 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
$faker->numerify('###-###-####');
// "766-620-7004"
$faker->numerify('##########');
// "3579786681"
php artisan make:factory PostFactory