Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Doctrine Collections Decorator

Doctrine Collections Decorator Laravel Package

rekalogika/doctrine-collections-decorator

Decorators for Doctrine Collections that wrap existing collections to add behavior such as read-only enforcement without changing the underlying classes. Drop-in compatible with Doctrine's Collection interface, so they work in entities and repositories alike.

Deep Wiki
Context7

rekalogika/doctrine-collections-decorator provides a set of reusable decorators for Doctrine Collections, letting you wrap existing collections with added behavior without modifying your entities or breaking type compatibility.

Each decorator implements Doctrine\Common\Collections\Collection, so it drops into existing code seamlessly while adding capabilities such as read-only enforcement or pagination.

  • Wrap any Collection with a read-only decorator to prevent accidental mutation
  • Paginate large collections without loading everything into memory
  • Compose decorators for layered behavior
  • Fully type-safe and compatible with Doctrine ORM mappings
  • Lightweight, dependency-minimal, and easy to integrate
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo