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, 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.
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.
structures is available on composer via packagist.
composer require mbh-framework/structures