rekalogika / collections-domain
Transforms a Doctrine Collection object into our Recollection object, which extends Collection itself but also extends PageableInterface from our rekalogika/rekapager library.
Fund package maintenance!
priyadi
Requires
- php: ^8.2
- doctrine/collections: ^2.2.2 || ^2.3
- rekalogika/collections-common: ^0.13
- rekalogika/collections-contracts: ^0.13
- rekalogika/rekapager-contracts: ^0.19
- rekalogika/rekapager-doctrine-collections-adapter: ^0.19
- rekalogika/rekapager-keyset-pagination: ^0.19
README
Transforms a Doctrine Collection
object into our Recollection
object, which
extends Collection
itself but also extends PageableInterface
from our
rekalogika/rekapager
library.
The features include:
- Safeguards against potential out-of-memory situations.
- Pluggable counting strategies.
- Keyset pagination for batch processing and user interfaces.
The classes also available in the minimal flavor, which only exposes the safe methods, those which won't trigger full load of an extra-lazy collection.
Documentation
License
MIT
Contributing
This library consists of multiple repositories split from a monorepo. Be sure to submit issues and pull requests to the rekalogika/collections monorepo.