New in Laravel 9.18: Invokable Custom Validation Rules

preview_player
Показать описание
Another new feature recently released by Tim MacDonald allows you to create shorter custom validation rules.

- - - - -
Support the channel by checking out my products:

- - - - -
Other places to follow:
Рекомендации по теме
Комментарии
Автор

is there a way to register a custom invokable rule using Validator::extend() so that I can use a string name instead of "new MyCustomeValidator"?

StevenTringali
Автор

I don't get why Laravel 9, which requires PHP8, still does not use native typehints in method signatures even for brand-new features...

MarkusWolff
Автор

Hi brother. Can you help make breeze muti Auth using role not guard?

shareknowledge
Автор

Laravel suddenly uses vite instead of mix and im stuck how to make bootstrap css work with vite. Anyone can help?

steelshadow
Автор

can we still use __('translation.key') syntax?

johnsins
Автор

Why there's no webpack.mix.js in my project when i create new laravel project and install vue JS? :( Thanks you

johnlestertorres
Автор

'array_list' => 'array| required',
'array_list.*' => 'string|in:Abc, Cde, Fgh'
This code doesn't work. Please suggest any better approach. Thanks

AhsanKhan
Автор

I used a "in house" framework at my previous job and I'm now using Laravel.. I do like Laravel but I find it bloated in the sense there's a million ways to do the same thing. In my code base at work everyone does X differently where as in my framework from previous job there was really only 1 day to do things and it kept everything consistent and clean. I don't know how people feel about this but in general I find Laravel really bloated but great for getting a project up and running quickly. Good for beginners to look MVC structure etc.

danielj
Автор

I want video about adapter pattern and using example.

bumblebity
Автор

Top as always!!! Can you make a Vite video? now that Laravel comes with Vite by default it would be a great video (how it works and how to migrate from webpack to vite)

davidblanco
Автор

It feels like invokable rule does a bit too much in a single method.

MrStealthWarrior
Автор

another top video.. how to migrate from laravel 8 to 9? and is it worth it?

pauloclara