Blog post about #php collections and cats in pipes: https://www.dantleech.com/blog/2026/03/15/php-collections-and-you/

(ok, they're in cans, and I didn't write about them)

#php

GitHub - loophp/collection: A (memory) friendly, easy, lazy and modular collection class.

A (memory) friendly, easy, lazy and modular collection class. - loophp/collection

GitHub
@dantleech "You get the bathtub but not the baby. " Big time Collection library user here, but loved that (the whole post to be honest)!
@qrazi glad you enjoyed it :)
Type-Safe Collections

Does PHP really need generics? A controversial thesis with a practical solution.

phpunit.expert
@sebastian nice article - I forgot to mention variadic static constructors in my blog post ... also haven't considered a varadic on the private constructor until now, but that makes sense :)