Open utterances-bot opened 1 year ago
Thanks. Was looking for an exact explanation on why it was invented in Lavarel 9. Also useful and all linkable introduction into PHP and general invokable related things. Wondering if you could also explain why Validator::extend is no longer present in the latest Laravel documentation.
New invokable rule objects in Laravel 9.x — Amit Merchant — A blog on PHP, JavaScript, and more
Validating incoming HTTP requests is an integral part of any robust web application and if you work with Laravel, it makes it a breeze to work with validation.
https://www.amitmerchant.com/new-invokable-validation-rule-objects-in-laravel-9x/