hiqdev/yii2-collection
Yii2 extension that integrates hiqdev/php-collection, providing collection data structures and helpers for Yii2 apps. Install via Composer and use a consistent, reusable collection API within your Yii2 project.
Illuminate\Support\Collection is superior).php-collection directly).For Executives: "This package lets us standardize how we handle lists/data in Yii2 apps—like Laravel’s Collections but tailored for Yii2. It cuts dev time for repetitive array tasks (e.g., filtering user roles, reshaping API data) and aligns with our existing stack. Low risk: minimal overhead, open-source, and proven in production (though outdated, it’s stable for our needs)."
For Engineering:
*"Yii2-Collection wraps php-collection with Yii2 traits, giving us fluent methods like map(), filter(), and groupBy() without leaving Yii2’s ecosystem. Ideal for:
foreach loops in controllers/models.How can I help you explore Laravel packages today?