Search by

Focused array, text, path, and naming helpers used across AssegaiPHP.

Package info

github.com/assegaiphp/util

pkg:composer/assegaiphp/util

Statistics

Installs: 4 258

Dependents: 4

Suggesters: 0

Stars: 0

Open Issues: 0

0.11.0 2026-11-16 11:44 UTC

README

AssegaiPHP Logo

Latest release Tests PHP 8.4+ License Status active

AssegaiPHP Util

Focused array, text, path, and naming helpers used across AssegaiPHP.

assegaiphp/util contains lightweight utilities shared by the framework and its tooling. It can also be installed independently in PHP 8.4 applications.

Requirements

  • PHP 8.4 or newer

Installation

composer require 'assegaiphp/util:~0.11.0'

Usage

use Assegai\Util\ArrayUtil;

$values = [1, 2, 3, 4, 5];

if (ArrayUtil::contains(3, $values)) {
  // The value is present.
}

The package also exposes Text and Path helpers plus shared naming functions loaded through Composer.

Contributing

For contribution and pull request conventions, see Commit and PR Guidelines.

License

AssegaiPHP Util is MIT licensed.