ilya-dev/belt · GitHub
Belt is a utility library for PHP that provides over 60 helper functions for common operations on arrays, objects, collections, and functions—such as flattening arrays, finding max/min values, mapping, reducing, and type checking. Version 2.0 brings improved documentation, better test coverage, and cleaner code, and can be installed as a Composer dependency. The library is fully tested, well-documented, and covers functional programming patterns like function composition and memoization.