README.md
# MBH Structures
[![Build Status](https://scrutinizer-ci.com/g/MBHFramework/structures/badges/build.png?b=1.x)](https://scrutinizer-ci.com/g/MBHFramework/structures/build-status/1.x) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) ![Made in PHP 7](https://img.shields.io/badge/PHP-7-blue.svg) [![Maintainability](https://api.codeclimate.com/v1/badges/d78bb935e6cdc5dc1a78/maintainability)](https://codeclimate.com/github/MBHFramework/structures/maintainability) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/MBHFramework/structures/badges/quality-score.png?b=1.x)](https://scrutinizer-ci.com/g/MBHFramework/structures/?branch=1.x) [![Code Intelligence Status](https://scrutinizer-ci.com/g/MBHFramework/structures/badges/code-intelligence.svg?b=1.x)](https://scrutinizer-ci.com/code-intelligence) [![Total Downloads](https://poser.pugx.org/mbh-framework/structures/downloads)](https://packagist.org/packages/mbh-framework/structures)
Mbh structures contains an abstraction of many of the structures used throughout the development of the framework, giving the possibility of being used by any other developer as a mini library of data structures.
## Collections
Collections, with filter, map, join, sort, slice, and other methods. Well-suited for functional programming and memory-intensive applications. Runs especially fast in PHP 7.
You can read the following [file](./docs/COLLECTIONS.md) to learn how the structure works.
## Tree
In Tree you can find a basic but flexible tree data structure for php together with and an handful Builder class, that enables you to build tree in a fluent way.
You can read the following [file](./docs/TREE.md) to learn how the structure works.
## Install
structures is available on composer via packagist.
```sh
composer require mbh-framework/structures
```