1generate a new rule object, by using the make:rule Artisan command.
2 Let's use this command to generate a rule that verifies a string is
3 uppercase. Laravel will place the new rule in the app/Rules directory.
4 If this directory does not exist, Laravel will create it when you
5 execute the Artisan command to create your rule:
6
7 php artisan make:rule Uppercase
8
9 go to https://laravel.com/docs/8.x/validation#custom-validation-rules
10 for details