spiral/cycle-bridge
Bridge package integrating Cycle ORM v2 with Spiral Framework 3+. Provides ORM configuration and runtime wiring for Spiral apps using PDO database drivers on PHP 8.1+.
foreach loops with lazy-loaded relations) are a known pain point. The feature lowers the barrier to adopting Cycle ORM for performance gains.Adopt if:
Look elsewhere if:
with()) and lack the bandwidth to migrate to Cycle ORM’s annotation-based approach.For Executives: "This update adds Relations Bulk Loader to our Cycle ORM bridge, letting us eliminate slow N+1 queries in our Spiral apps—critical for scaling high-traffic APIs or data-intensive features. For example, loading a user’s orders and order items and shipping details in a single database call instead of 50+ round-trips. It’s a low-code, high-impact way to squeeze more performance out of our existing infrastructure without rewriting data layers. Think of it as upgrading from a manual transmission to a turbocharger for your database queries."
For Engineering: *"The Relations Bulk Loader binding gives us:
For Developers:
*"If you’re tired of writing custom with() clauses or seeing ‘Query N+1’ warnings in your Spiral apps, this update lets you:
@Relation(Comment::class, target: "comments")) and let Cycle ORM automatically batch-load relations.$user->loadAll()).How can I help you explore Laravel packages today?