Laravel 12.51.0 Adds afterSending Callbacks, Validator whenFails, and MySQL Timeout

February 11, 2026

Laravel v12.51.0 adds notification afterSending() callbacks, fluent whenFails() and whenPasses() methods on the Validator, a MySQL query builder timeout() method, and closure support in firstOrCreate and createOrFirst for lazy value evaluation, and more.


The post Laravel 12.51.0 Adds afterSending Callbacks, Validator whenFails, and MySQL Timeout appeared first on Laravel News.

Join the Laravel Newsletter to get all the latest Laravel articles like this directly in your inbox.