![Read I called Route::query() and the router said Attribute [query] does not exist](/assets/img/_responsive/laravel-route-query-hero-1024.avif)
I called Route::query() and the router said Attribute [query] does not exist
Laravel 13.35 adds Route::query() and an opt-in defaults() trait. On 13.34 that call is a group attribute and throws. QUERY in the web group still runs the CSRF middleware, and a feature test will not show the 419. Packagist this morning is 13.44.1.
Nov 25, 2026 · 9 min read