Do not call toArray() to get all items from a Laravel Collection
#oss
The pipe operator was a great addition in PHP 8.5. It brings the ergonomics of wrapper objects with the composability of standalone functions. Unfortunately, the standard array & string manipulation functions in PHP aren't exactly known for their API consistency, which makes the pipe operator awkward to use. Piper is an attempt to wrap the standard library to make it compatible with the pipe operator.
In short: we'd like to be a substantial part of your project.
Get in touch via email