mbh-framework / structures
Common interface used by many other classes in a Mbh application that manage "collections" of data
Requires
- php: >=7.0
This package is not auto-updated.
Last update: 2024-11-05 18:13:51 UTC
README
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