The Daily Commit · Section Edition Front Page PHP AI Dev EN DE FR ES

The Php Times

Reads — Ecosystem

HTTP Query Method Support in Laravel 13.19


Laravel 13.19.0 adds support for the HTTP QUERY verb with a new Http::query() client method and query/queryJson testing helpers.

LARAVEL NEWS, July 8, 2026 curated by Charlie

The release also includes a reduceInto collection method, a counted string helper, and bulk SQS job dispatching, making it a practical update for teams using Laravel’s HTTP client and queue tooling.

Laravel 13.19.0 introduces the Http::query() method, enabling the use of the HTTP QUERY verb. Unlike standard GET requests, this method sends parameters within the request body. It supports both JSON by default and form-encoded data via asForm(), while existing URL query functionality remains unaffected.

To support this new verb in tests, the framework now includes query() and queryJson() helpers. These allow developers to simulate QUERY requests and assert responses, mirroring the behavior of existing testing helpers like delete().

Collection and string utilities have also been expanded. A new reduceInto() method allows for the mutation of an accumulator in place, which is particularly useful for object or array-based accumulations without needing to return a value in every iteration. Additionally, the Str::counted() helper simplifies pluralization by prepending the count to a string in a single call.

Queue performance for SQS is improved by utilizing the SendMessageBatch API for bulk dispatches, reducing the total number of requests. Furthermore, the queue fake now supports the inspection of reserved jobs, enabling tests to verify jobs that have been picked up by a worker but not yet finished.

Read the original source ↗

Rate this article: 0

Readers’ Forum

No contributions yet — open the debate.

← Ecosystem — Page B1

"All the Code That's Fit to Ship" · The Daily Commit · Screen edition · Imprint · Privacy Policy