Laravel 11 tutorial in Hindi #18 Custom validation rule

preview_player
Показать описание
In this video, we learn how to make custom validation rules in Laravel 11. This video is made by Anil Sidhu in the Hindi language.

Make Own Validation Rule
Make a custom error message
Get old value
Change input color if invalid
Publish validation message file
Interview Question.

This Laravel series in made in 2024 and the current Laravel version is Laravel 11

Рекомендации по теме
Комментарии
Автор

Please support me by like comment subscribe and share. thank you

codestepbystep
Автор

Although that way not working for me, i don't know why but got an alternative of same work

First import the Uppercase in the controller file
* use App\Rules\Uppercase;

then just update the validate parameter as

'username' => 'required', new Uppercase()

Thank you.

rkp_here
Автор

sir ky larawel aur php me scope hai 2024 me

Robennhood