add custom validation laravel with requrires code example Example: laravel custom validation php artisan make:rule RuleName