tourze/yield-breakable-caller
A small PHP utility that lets callers break out of yield-based iteration cleanly, giving generators controllable break semantics without messy manual loop handling.
tourze/yield-breakable-caller provides a lightweight helper for invoking generator-based coroutines from ordinary PHP code while keeping control over when iteration stops. It wraps a callable that yields values and lets the caller break out of the generator at any point, propagating the result or exception back cleanly instead of forcing every consumer to hand-roll foreach loops and manual generator teardown.
How can I help you explore Laravel packages today?