I have a number filed, I need to make a custom validation for it like this
He can not write a number without put at the beginning of number one of these number
077 | 075 | 078 | the number must be like this 07701231231
I think the starts_with validation rule fits your needs here:
https://laravel.com/docs/8.x/validation#rule-starts-with
Since 077, 075 and 078 are not valid integer values (would convert to 77, 75, and 78), you'd use the following rule and handle that as a string:
'number' => 'string|starts_with:077,078,075'