Download the PHP package beauty-framework/collection without Composer
On this page you can find all versions of the php package beauty-framework/collection. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download beauty-framework/collection
More information about beauty-framework/collection
Files in beauty-framework/collection
Download beauty-framework/collection
More information about beauty-framework/collection
Files in beauty-framework/collection
Vendor beauty-framework
Package collection
Short Description Beauty Collection
License MIT
Package collection
Short Description Beauty Collection
License MIT
Keywords collectionbeauty
Please rate this library. Is it a good library?
Informations about the package collection
Beauty Collection
A powerful collection abstraction for the Beauty Framework.
Supports both eager and lazy data pipelines, multiple storage strategies, method chaining (map, filter, sortBy, paginate, etc.), strict interfaces, and full compatibility.
Features
Collection (eager)
- Fluent methods:
map,filter,where,sortBy,paginate,each,first,last,values
- Implements:
ArrayAccess,Countable,IteratorAggregate,JsonSerializable
- Smart
last()optimization (iterator or buffered strategy) - Storage strategies:
ArrayStorage(default)DsMapStorage(ifext-dsis available)
LazyCollection
- Based on
Generator - Fluent methods:
map,filter,chunk,flatMap,reduce,take,first,toArray
- Memory efficient for large or infinite datasets
Interfaces
CollectionInterfaceSupportsOperationsSupportsAccessorsLazyCollectionInterface
Installation
Usage
Eager Collection
Lazy Collection
Tests
Compatibility
- ArrayAccess
- Countable
- IteratorAggregate
- JsonSerializable
License
MIT
All versions of collection with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
The package beauty-framework/collection contains the following files
Loading the files please wait ...