collection
A (memory) friendly, easy, lazy and modular collection class.
File Explorer
Download Latest Version (.zip)- code-style.yml
- documentation.yml
- mutation-tests.yml
- prettier.yml
- prune.yaml
- release.yaml
- static-analysis.yml
- tests.yml
- CODE_OF_CONDUCT.md
- CODEOWNERS
- CONTRIBUTING.md
- dependabot.yml
- FUNDING.yml
- ISSUE_TEMPLATE.md
- PULL_REQUEST_TEMPLATE.md
- settings.yml
- stale.yml
- custom.css
- highlight.css
- psrcas-logo.png
- all.php
- apply.php
- associate.php
- averages.php
- background.php
- coalesce.php
- combine.php
- compare.php
- contains.php
- countIn.php
- current.php
- dispersion.php
- distinct.php
- duplicate.php
- entropy.php
- equals.php
- filter.php
- find.php
- foldleft.php
- fromFile.php
- groupBy.php
- inits.php
- isEmpty.php
- isNotEmpty.php
- jsonSerialize.php
- last.php
- match.php
- matching.php
- max.php
- min.php
- normalize.php
- partition.php
- pipe.php
- pluck.php
- reduce.php
- reject.php
- same.php
- since.php
- sort.php
- span.php
- squash.php
- strict.php
- transpose.php
- unfold.php
- window.php
- collatz-conjecture.php
- duplicate-keys.php
- e.php
- extending-collection-with-collectiondecorator.php
- extending-collection.php
- fibonacci.php
- fizzbuzz.php
- gamma.php
- goldenNumber.php
- lazy-json-parsing.php
- monte-carlo.php
- ngrams.php
- parse-git-log.php
- primes.php
- random-generator.php
- random-numbers-distribution.php
- read-file.php
- serialization.php
- simple.php
- string.php
- text-analysis.php
- api.rst
- contributing.rst
- installation.rst
- principles.rst
- requirements.rst
- tests.rst
- usage.rst
- conf.py
- index.rst
- Allable.php
- Appendable.php
- Applyable.php
- Associateable.php
- Averagesable.php
- Cacheable.php
- Chunkable.php
- Coalesceable.php
- Collapseable.php
- Columnable.php
- Combinateable.php
- Combineable.php
- Compactable.php
- Comparable.php
- Containsable.php
- CountInAble.php
- Currentable.php
- Cycleable.php
- Diffable.php
- Diffkeysable.php
- Dispersionable.php
- Distinctable.php
- Dropable.php
- DropWhileable.php
- Dumpable.php
- Duplicateable.php
- Entropyable.php
- Equalsable.php
- Everyable.php
- Explodeable.php
- Falsyable.php
- Filterable.php
- Findable.php
- Firstable.php
- FlatMapable.php
- Flattenable.php
- Flipable.php
- FoldLeft1able.php
- FoldLeftable.php
- FoldRight1able.php
- FoldRightable.php
- Forgetable.php
- Frequencyable.php
- Getable.php
- Groupable.php
- GroupByable.php
- Hasable.php
- Headable.php
- IfThenElseable.php
- Implodeable.php
- Initable.php
- Initsable.php
- Intersectable.php
- Intersectkeysable.php
- Intersperseable.php
- IsEmptyable.php
- IsNotEmptyable.php
- Keyable.php
- Keysable.php
- Lastable.php
- Limitable.php
- Linesable.php
- Mapable.php
- MapNable.php
- Matchable.php
- Matchingable.php
- Maxable.php
- Mergeable.php
- Minable.php
- Normalizeable.php
- Nthable.php
- Nullsyable.php
- Packable.php
- Padable.php
- Pairable.php
- Partitionable.php
- Permutateable.php
- Pipeable.php
- Pluckable.php
- Prependable.php
- Productable.php
- Randomable.php
- Rangeable.php
- Reduceable.php
- Reductionable.php
- Rejectable.php
- Reverseable.php
- RSampleable.php
- Sameable.php
- Scaleable.php
- ScanLeft1able.php
- ScanLeftable.php
- ScanRight1able.php
- ScanRightable.php
- Shuffleable.php
- Sinceable.php
- Sliceable.php
- Sortable.php
- Spanable.php
- Splitable.php
- Squashable.php
- Strictable.php
- Tailable.php
- Tailsable.php
- TakeWhileable.php
- Tappable.php
- Timesable.php
- Transposeable.php
- Truthyable.php
- Unfoldable.php
- Unlinesable.php
- Unpackable.php
- Unpairable.php
- Untilable.php
- Unwindowable.php
- Unwordsable.php
- Unwrapable.php
- Unzipable.php
- Whenable.php
- Windowable.php
- Wordsable.php
- Wrapable.php
- Zipable.php
- Collection.php
- Operation.php
- PsrCacheIterator.php
- AbstractOperation.php
- Append.php
- Apply.php
- Associate.php
- Averages.php
- Cache.php
- Chunk.php
- Coalesce.php
- Collapse.php
- Column.php
- Combinate.php
- Combine.php
- Compact.php
- Compare.php
- Contains.php
- Current.php
- Cycle.php
- Diff.php
- DiffKeys.php
- Dispersion.php
- Distinct.php
- Drop.php
- DropWhile.php
- Dump.php
- Duplicate.php
- Entropy.php
- Equals.php
- Every.php
- Explode.php
- Falsy.php
- Filter.php
- Find.php
- First.php
- FlatMap.php
- Flatten.php
- Flip.php
- FoldLeft.php
- FoldLeft1.php
- FoldRight.php
- FoldRight1.php
- Forget.php
- Frequency.php
- Get.php
- Group.php
- GroupBy.php
- Has.php
- Head.php
- IfThenElse.php
- Implode.php
- Init.php
- Inits.php
- Intersect.php
- IntersectKeys.php
- Intersperse.php
- IsEmpty.php
- IsNotEmpty.php
- Key.php
- Keys.php
- Last.php
- Limit.php
- Lines.php
- Map.php
- MapN.php
- Matching.php
- MatchOne.php
- Max.php
- Merge.php
- Min.php
- Normalize.php
- Nth.php
- Nullsy.php
- Pack.php
- Pad.php
- Pair.php
- Partition.php
- Permutate.php
- Pipe.php
- Pluck.php
- Prepend.php
- Product.php
- Random.php
- Range.php
- Reduce.php
- Reduction.php
- Reject.php
- Reverse.php
- RSample.php
- Same.php
- Scale.php
- ScanLeft.php
- ScanLeft1.php
- ScanRight.php
- ScanRight1.php
- Shuffle.php
- Since.php
- Slice.php
- Sort.php
- Span.php
- Split.php
- Strict.php
- Tail.php
- Tails.php
- TakeWhile.php
- Tap.php
- Times.php
- Transpose.php
- Truthy.php
- Unfold.php
- Unlines.php
- Unpack.php
- Unpair.php
- Until.php
- Unwindow.php
- Unwords.php
- Unwrap.php
- Unzip.php
- When.php
- Window.php
- Words.php
- Wrap.php
- Zip.php
- CallbacksArrayReducer.php
- Collection.php
- CollectionDecorator.php
- data.csv
- sample.txt
- all.php
- append.php
- apply.php
- associate.php
- chunk.php
- column.php
- compare.php
- contains.php
- count.php
- countIn.php
- current.php
- diff.php
- dispersion.php
- distinct.php
- drop.php
- empty.php
- entropy.php
- equals.php
- every.php
- falsy.php
- filter.php
- find.php
- first.php
- flatMap.php
- flatten.php
- flip.php
- foldleft.php
- fromCallable.php
- fromFile.php
- fromGenerator.php
- fromIterable.php
- fromIterableAssociateAll.php
- fromResource.php
- fromString.php
- get.php
- groupby.php
- has.php
- head.php
- implode.php
- inits.php
- isEmpty.php
- isNotEmpty.php
- key.php
- keys.php
- last.php
- lines.php
- map.php
- mapN.php
- match.php
- matching.php
- max.php
- min.php
- normalize.php
- nullsy.php
- pack.php
- pair.php
- partition.php
- product.php
- random.php
- reduce.php
- reduction.php
- reject.php
- reverse.php
- same.php
- scanLeft.php
- scanLeft1.php
- scanRight.php
- scanRight1.php
- shuffle.php
- span.php
- squash.php
- strict.php
- tail.php
- tails.php
- tap.php
- truthy.php
- unfold.php
- unpack.php
- unwrap.php
- when.php
- window.php
- wrap.php
- zip.php
- PsrCacheIteratorTest.php
- GenericCollectionProviders.php
- CallbacksArrayReducerTest.php
- CollectionConstructorsTest.php
- CollectionGenericOperationTest.php
- CollectionSpecificOperationTest.php
- CustomCollection.php
- CustomCollectionConstructorsTest.php
- CustomCollectionGenericOperationTest.php
- CustomCollectionSpecificOperationTest.php
- IssuesTest.php
- NamedItem.php
- .auto-changelog
- .editorconfig
- .envrc
- .gitattributes
- .gitignore
- .php-cs-fixer.dist.php
- .prettierignore
- .prettierrc
- .readthedocs.yml
- .scrutinizer.yml
- CHANGELOG.md
- composer.json
- grumphp.yml
- infection.json
- LICENSE
- phpstan-baseline.neon
- phpstan.neon.dist
- phpunit.xml
- psalm-baseline.xml
- psalm.xml
- README.md
- renovate.json
# Installation Guide
1. Get the code
git clone https://github.com/loophp/collection
Downloads the entire project code from GitHub to your computer.
cd collection
Moves into the project folder you just downloaded.
2. PHP (Composer)
Easy RecommendedPrerequisites
composer install
Installs the PHP libraries listed in composer.json.
Run it with a built-in server like php -S localhost:8000, then open http://localhost:8000 in your browser.
// repository documentation
Was this content helpful?
(0 ratings)
