PHPackages                             assegaiphp/util - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. assegaiphp/util

ActiveLibrary

assegaiphp/util
===============

A collection of useful PHP utility classes to simplify common tasks and enhance application development.

0.4.4(1y ago)0198↓16.7%4MITPHPPHP &gt;=8.2

Since Sep 17Pushed 1y ago1 watchersCompare

[ Source](https://github.com/assegaiphp/util)[ Packagist](https://packagist.org/packages/assegaiphp/util)[ RSS](/packages/assegaiphp-util/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (3)Versions (7)Used By (4)

 [![Assegai Logo](https://camo.githubusercontent.com/d7dab2658d76e460e31be249de2fe5d420f7a7237eb9f2a315f83123632a3b6c/68747470733a2f2f617373656761697068702e636f6d2f696d616765732f6c6f676f732f6c6f676f2d63726f707065642e706e67)](https://assegaiphp.com/)

A progressive [PHP](https://php.net) framework for building effecient and scalable server-side applications.

Description
-----------

[](#description)

The Assegai Util package is a PHP package that provides a collection of utility classes to simplify common tasks and enhance application development. It includes various utility classes that can be used to perform common tasks, such as working with arrays, strings, dates, and more.

Installation
------------

[](#installation)

The recommended way to install assegaiphp/util is through Composer. Run the following command in your terminal:

```
composer require assegaiphp/util
```

Usage
-----

[](#usage)

Once you have installed assegaiphp/util, you can start using its utility classes by simply importing them into your PHP code. For example, to use the ArrayUtil class, you would add the following line at the top of your PHP file:

```
use Assegai\Util\ArrayUtil;

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

if (ArrayUtil::contains($numericArray, 3)) {
    echo 'The array contains the value 3.';
} else {
    echo 'The array does not contain the value 3.';
}
```

You can then call any of the static methods of the ArrayUtil class to perform various array-related tasks.

Contributing
------------

[](#contributing)

Contributions are welcome! If you find a bug or would like to request a new feature, please open an issue on the GitHub repository. If you would like to contribute code, please fork the repository and submit a pull request.

License
-------

[](#license)

assegaiphp/util is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance40

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~114 days

Total

5

Last Release

507d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b56f1a86c97a44aa8b6e391bdfff3e41895f2262f6fd9295195806a068921e23?d=identicon)[amasiye](/maintainers/amasiye)

---

Top Contributors

[![amasiye](https://avatars.githubusercontent.com/u/5607605?v=4)](https://github.com/amasiye "amasiye (21 commits)")[![amasiyelr](https://avatars.githubusercontent.com/u/141437318?v=4)](https://github.com/amasiyelr "amasiyelr (1 commits)")

### Embed Badge

![Health badge](/badges/assegaiphp-util/health.svg)

```
[![Health](https://phpackages.com/badges/assegaiphp-util/health.svg)](https://phpackages.com/packages/assegaiphp-util)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
