You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ArrayKit is a modern PHP 8.4+ library for elegant, high-performance array manipulation, dot notation
utilities, dynamic configuration, hookable collections, and more.
From shallow single arrays to deeply nested data structures — ArrayKit provides a fluent, reliable toolkit for
real-world PHP projects.
📦 Features at a Glance
Single-Dimensional Helpers
Multi-Dimensional Helpers
Dot Notation Get/Set/Flatten
Dynamic Config with Hooks
Collection & Hooked Collection
Traits for DTO & Hooking
Pipeline for Collection Ops
Global Helpers (functions.php)
📚 Modules
➤ Array Helpers
Helper
Description
ArraySingle
Helpers for single-dimensional arrays (detect list/assoc, filter, paginate, duplicates, averages).
ArrayMulti
Helpers for multi-dimensional arrays (flatten, collapse, depth, recursive sort, filter).
DotNotation
Get/set/remove values using dot keys; flatten & expand nested arrays with dot keys.
BaseArrayHelper
Internal shared base for consistent API across helpers.
➤ Config System
Class
Description
Config
Dot-access configuration loader.
DynamicConfig
Extends Config with on-get/on-set hooks to transform values dynamically (e.g., encrypt/decrypt, auto-format).
Licensed under the MIT License — use it freely for personal or commercial projects. See LICENSE for
details.
About
Elegant, high-performance array manipulation, dot notation utilities, dynamic configuration, hookable collections, and more. From shallow single arrays to deeply nested data structures — ArrayKit provides a fluent, reliable toolkit for real-world PHP projects.