laravel custom validation like required code example
Example 1: laravel custom validation
php artisan make:rule RuleName
Example 2: validation.required laravel
9
If it has worked for you before then you should check if you have messages defined in the app\lang\en\validation.php or by chance you have changed the locale of the app and have not defined the messages for it. There are many possibilities.