random number laravel faker
snippet in php

random number laravel faker

user9177

$faker->numerify('###-###-####');
// "766-620-7004"

$faker->numerify('##########');
// "3579786681"

string and number laravel faker

user2689

$this->faker->bothify('?###??##') // 1efr38qa