laravel faker generate 4 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