All Projects → ramsey → Collection

ramsey / Collection

Licence: mit
A PHP library for representing and manipulating collections.

Projects that are alternatives of or similar to Collection

Containers
This library provides various containers. Each container has utility functions to manipulate the data it holds. This is an abstraction as to not have to manually manage and reallocate memory.
Stars: ✭ 125 (-74.39%)
Mutual labels:  array, set, collection, queue, map
Buckets Js
A complete, fully tested and documented data structure library written in pure JavaScript.
Stars: ✭ 1,128 (+131.15%)
Mutual labels:  set, collection, queue, map
ustd
Micro-standard-library providing minimal and portable array, queue and map for attiny avr, arduinos, esp8266/32 and linux, mac
Stars: ✭ 14 (-97.13%)
Mutual labels:  map, queue, array
NonEmptyCollections
A type-safe implementation for collections that cannot be empty. Life is too short for emptiness-checks!
Stars: ✭ 45 (-90.78%)
Mutual labels:  map, set, collection
invokable
Objects are functions! Treat any Object or Class as a Proc (like Enumerable but for Procs).
Stars: ✭ 40 (-91.8%)
Mutual labels:  set, array, hash
Redux Data Structures
Reducer factory functions for common data structures: counters, maps, lists (queues, stacks), sets, etc.
Stars: ✭ 157 (-67.83%)
Mutual labels:  set, queue, map
Kind Of
Get the native JavaScript type of a value, fast. Used by superstruct, micromatch and many others!
Stars: ✭ 268 (-45.08%)
Mutual labels:  array, set, map
Mlib
Library of generic and type safe containers in pure C language (C99 or C11) for a wide collection of container (comparable to the C++ STL).
Stars: ✭ 321 (-34.22%)
Mutual labels:  array, set, queue
Redisson
Redisson - Redis Java client with features of In-Memory Data Grid. Over 50 Redis based Java objects and services: Set, Multimap, SortedSet, Map, List, Queue, Deque, Semaphore, Lock, AtomicLong, Map Reduce, Publish / Subscribe, Bloom filter, Spring Cache, Tomcat, Scheduler, JCache API, Hibernate, MyBatis, RPC, local cache ...
Stars: ✭ 17,972 (+3582.79%)
Mutual labels:  set, queue, map
Map
PHP Map package for easy and elegant handling of PHP arrays as array-like map objects
Stars: ✭ 1,180 (+141.8%)
Mutual labels:  array, collection, map
php-sorted-collections
Sorted Collections for PHP
Stars: ✭ 22 (-95.49%)
Mutual labels:  map, set, collection
go-streams
Stream Collections for Go. Inspired in Java 8 Streams and .NET Linq
Stars: ✭ 127 (-73.98%)
Mutual labels:  collection, array
react-smart-key
Pass anything as key without re-renders
Stars: ✭ 17 (-96.52%)
Mutual labels:  collection, array
observable ish
Observable state and events for browser and Flutter.
Stars: ✭ 26 (-94.67%)
Mutual labels:  map, set
Php Enum
Simple and fast implementation of enumerations with native PHP
Stars: ✭ 446 (-8.61%)
Mutual labels:  set, map
array-keyed-map
JS datastructure, like Map, but the keys are arrays
Stars: ✭ 29 (-94.06%)
Mutual labels:  map, array
js-collections-map-set
Repository to have example code to demonstrate JavaScript Map and Set data structures.
Stars: ✭ 21 (-95.7%)
Mutual labels:  map, set
php-collections
A collection library for php
Stars: ✭ 34 (-93.03%)
Mutual labels:  map, array
Data-Structures-and-Algorithms
Data Structures and Algorithms implementation in Python
Stars: ✭ 31 (-93.65%)
Mutual labels:  queue, array
Gostl
Data structure and algorithm library for go, designed to provide functions similar to C++ STL
Stars: ✭ 254 (-47.95%)
Mutual labels:  set, queue

ramsey/collection

A PHP library for representing and manipulating collections.

Source Code Download Package PHP Programming Language Build Status Codecov Code Coverage Psalm Type Coverage Read License Package downloads on Packagist Chat with the maintainers

About

ramsey/collection is a PHP 7.2+ library for representing and manipulating collections.

Much inspiration for this library came from the Java Collections Framework.

This project adheres to a code of conduct. By participating in this project and its community, you are expected to uphold this code.

Installation

Install this package as a dependency using Composer.

composer require ramsey/collection

Usage

Examples of how to use this framework can be found in the Wiki pages.

Contributing

Contributions are welcome! Before contributing to this project, familiarize yourself with CONTRIBUTING.md.

To develop this project, you will need PHP 7.2 or greater and Composer.

After cloning this repository locally, execute the following commands:

cd /path/to/repository
composer install

Now, you are ready to develop!

Coordinated Disclosure

Keeping user information safe and secure is a top priority, and we welcome the contribution of external security researchers. If you believe you've found a security issue in software that is maintained in this repository, please read SECURITY.md for instructions on submitting a vulnerability report.

ramsey/collection for Enterprise

Available as part of the Tidelift Subscription.

The maintainers of ramsey/collection and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source packages you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact packages you use. Learn more.

Copyright and License

The ramsey/collection library is copyright © Ben Ramsey and licensed for use under the terms of the MIT License (MIT). Please see LICENSE 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].