Laravel 13.16.0 ships four notable additions. The new `php artisan dev` command runs development processes (server, queue worker, log tailing, Vite) concurrently, replacing the `composer dev` script with application-level configuration via a `DevCommands` class. A `whenFilledEnum()` method on requests simplifies typed enum handling by combining the filled check, `tryFrom()` cast, and null guard into one call. The `withCookies()` method moves from `RedirectResponse` to `ResponseTrait`, making it available on all response types including `JsonResponse`. An array-based maintenance mode driver is added specifically for parallel testing scenarios where file and cache drivers cause issues. Additional fixes cover shell quoting in scheduled commands, batch job handling, queue attributes on traits, and JSON Schema deserialization safety.

4m read timeFrom laravel-news.com
Post cover image
Table of contents
# The artisan dev Command# whenFilledEnum() Request Method# withCookies() on All Responses# array Maintenance Mode Driver# Enums in broadcastAs()# JSON Schema anyOf and Safer Deserialization# Other Fixes and Improvements
80.2K Impressions2 Comments