$ the-wire · showcase
CloudManager answers isManagedQueue, Collection types tighten
By RepoJournal · Filed · About Laravel · Composed from the cited sources · methodology
A quiet day on laravel/framework: one new CloudManager helper for mixed-driver queue setups, and static-analysis improvements that make mutation methods on Collection report accurate generic types.
[13.x] Add `isManagedQueue` to CloudManager laravel/framework
Jack Bayliss added isManagedQueue so you can ask whether a queue is managed without going through the queue connection, which he notes most people do not realise is available. His motivating case is multiple drivers, FIFO in cloud and local work, letting you branch on something like Cloud::isManagedQueue('notifications.fifo') before forwarding a job; he had been macroing the same check.
[13.x] Improve collection return types for methods that mutate laravel/framework
PHPStan 2.2.14 fixed its handling of (T of array-key)|int, so Collection methods that mutate in place can declare better generics. In practice collect(['foo' => 'bar'])->push('baz') used to be inferred as Collection<string, string>; it now reports Collection<int|string, string>, and the same pass covers prepend() and getOrPut().
Update facade docblocks laravel/framework
Taylor Otwell refreshed the facade docblocks on the framework, the annotations behind the static-analysis and IDE completion you get on facade calls.
[13.x] Add `isManagedQueue` to CloudManager (#61568) laravel/framework
The CloudManager change arrived as a commit, with its test coverage updated alongside; on a thin day like this, that plus the two 13.x pull requests above is the whole of the framework traffic.