Installation#
You can install ArrayKit via Composer.
composer require infocyph/arraykit
Requirements#
ArrayKit has the following requirements:
PHP 8.4+
Autoload is PSR-4 based and loads namespaced helper functions from
Infocyph\ArrayKit\* by default.
Optional global helpers#
If you want global helper functions (array_get(), array_set(),
collect(), chain()), include src/functions.php manually:
<?php
require_once __DIR__ . '/vendor/infocyph/arraykit/src/functions.php';