⚠️ This post links to an external website. ⚠️
Laravel 13.19.0 introduces support for the HTTP QUERY method across its HTTP client and testing helpers. The new
Http::query()method allows users to issue QUERY requests, sending parameters in the request body rather than the URL. This mirrors existing methods likepost(),put(), andpatch()and defaults to sending JSON data.The article also covers new testing helpers:
query()andqueryJson(), which facilitate testing routes that respond to QUERY requests. Additionally, a new collection method,reduceInto(), is introduced for more effective accumulator handling. Other enhancements include thecounted()string helper to streamline word pluralization, bulk SQS dispatch improvements, and numerous bug fixes and optimizations. This release reflects Laravel's commitment to evolving and refining its framework.
continue reading onlaravel-news.com
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.