mbh-framework/structures

Common interface used by many other classes in a Mbh application that manage "collections" of data

v1.0 2017-11-30 18:58 UTC

README

Build Status License: MIT Made in PHP 7 Maintainability Scrutinizer Code Quality Code Intelligence Status Total Downloads

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 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 to learn how the structure works.

Install

structures is available on composer via packagist.

composer require mbh-framework/structures