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