All Projects → buttress → Collecterator

buttress / Collecterator

Licence: mit
Generator based PHP Collections

Projects that are alternatives of or similar to Collecterator

Kotlinx.collections.immutable
Immutable persistent collections for Kotlin
Stars: ✭ 465 (+1309.09%)
Mutual labels:  collections
Meteor Collection Hooks
Meteor Collection Hooks
Stars: ✭ 641 (+1842.42%)
Mutual labels:  collections
Kona
a node.js service framework built on koa.js (generators)
Stars: ✭ 23 (-30.3%)
Mutual labels:  generators
Knapsack
Collection pipeline library for PHP
Stars: ✭ 521 (+1478.79%)
Mutual labels:  collections
Windows Kernel Exploits
windows-kernel-exploits Windows平台提权漏洞集合
Stars: ✭ 5,963 (+17969.7%)
Mutual labels:  collections
Laravel Collectable
Stars: ✭ 7 (-78.79%)
Mutual labels:  collections
Laravel Helpers
An extensive set of Laravel framework helper functions and collection macros.
Stars: ✭ 407 (+1133.33%)
Mutual labels:  collections
Awesome Flutter
An awesome list that curates the best Flutter libraries, tools, tutorials, articles and more.
Stars: ✭ 38,582 (+116815.15%)
Mutual labels:  collections
Ardent
A Collections library for PHP.
Stars: ✭ 632 (+1815.15%)
Mutual labels:  collections
Functions.js
📦 A hub of numerous functions with various functionalities
Stars: ✭ 22 (-33.33%)
Mutual labels:  collections
Cdsa
A library of generic intrusive data structures and algorithms in ANSI C
Stars: ✭ 549 (+1563.64%)
Mutual labels:  collections
Vue Mc
Models and Collections for Vue
Stars: ✭ 588 (+1681.82%)
Mutual labels:  collections
Eter
Lightweight collections for JavaScript
Stars: ✭ 16 (-51.52%)
Mutual labels:  collections
Awesome Flake8 Extensions
A curated awesome list of flake8 extensions. Feel free to contribute! 🎓
Stars: ✭ 510 (+1445.45%)
Mutual labels:  collections
Goodies
Useful stuff missing from .NET for example duck typing, CSP channels, caching, money, typed ids...
Stars: ✭ 11 (-66.67%)
Mutual labels:  collections
Deep Learning Resources
由淺入深的深度學習資源 Collection of deep learning materials for everyone
Stars: ✭ 422 (+1178.79%)
Mutual labels:  collections
Malli
Data-Driven Schemas for Clojure/Script.
Stars: ✭ 667 (+1921.21%)
Mutual labels:  generators
Awesome Seo
Google SEO研究及流量变现
Stars: ✭ 942 (+2754.55%)
Mutual labels:  collections
Koloboke
Java Collections till the last breadcrumb of memory and performance
Stars: ✭ 909 (+2654.55%)
Mutual labels:  collections
Kea
Composable Functional Programming in R
Stars: ✭ 18 (-45.45%)
Mutual labels:  collections

Collecterator: Generator based collections

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

This library is a fully featured \Generator based Collection implementation. The goal is to provide a memory efficient fast collection implementation that makes it possible to use familiar collection methods to work with infinite or very large streams.

Our tests were largely copied from tightenco/collect with many modifications added to support the deferred processing you get with Generators.

For basic usage, see the AllMethods.php example

Install

Via Composer

$ composer require buttress/collecterator

Usage

$collection = GeneratorCollection::make([1,2,3]);
$collection->filter(function(int $value) {
    return $value % 2;
});

$array = $collection->all();

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].