PHPackages                             stk2k/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. stk2k/util

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

stk2k/util
==========

PHP7 utility classes

0.3.1(4y ago)04.4k12MITPHPPHP &gt;=7.2CI failing

Since Nov 19Pushed 4y ago1 watchersCompare

[ Source](https://github.com/stk2k/util)[ Packagist](https://packagist.org/packages/stk2k/util)[ Docs](https://github.com/stk2k/util)[ RSS](/packages/stk2k-util/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (9)Used By (12)

PHP7 utility classes
====================

[](#php7-utility-classes)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a7c6ffea173a973cf6285486a67c7bdb417ec3c00d2ade6867100c5a22b3f776/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73746b326b2f7574696c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/stk2k/util)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/8dc269b4e7c1a3de084db8747a6fcaed966b588944b4df823329a37587c12be2/68747470733a2f2f7472617669732d63692e6f72672f73746b326b2f7574696c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/stk2k/util)[![Coverage Status](https://camo.githubusercontent.com/06b0d1c4385ad1cd90fadf6e52680116a4ef39dea7b5212f25a4fb9aa7e22aef/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f73746b326b2f7574696c2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/stk2k/util?branch=master)[![Code Climate](https://camo.githubusercontent.com/967faf6c028a5d1da0891c68a3a21365925d1cc22cc34f2bc18d1165de9946cb/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f73746b326b2f7574696c2f6261646765732f6770612e737667)](https://codeclimate.com/github/stk2k/util)[![Total Downloads](https://camo.githubusercontent.com/27e55dff5acbff9df726af24be9f8b246af48827c9709d9019dcdd6541f77e16/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73746b326b2f7574696c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/stk2k/util)

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

[](#description)

PHP7 utility classes

Feature
-------

[](#feature)

Demo
----

[](#demo)

Usage
-----

[](#usage)

Requirement
-----------

[](#requirement)

PHP 7.2 or later

Installing stk2k/util
---------------------

[](#installing-stk2kutil)

The recommended way to install stk2k/util is through [Composer](http://getcomposer.org).

```
composer require stk2k/util
```

After installing, you need to require Composer's autoloader:

```
require 'vendor/autoload.php';
```

License
-------

[](#license)

This library is licensed under the MIT license.

Author
------

[](#author)

[stk2k](https://github.com/stk2k)

Disclaimer
----------

[](#disclaimer)

This software is no warranty.

We are not responsible for any results caused by the use of this software.

Please use the responsibility of the your self.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~81 days

Recently: every ~1 days

Total

8

Last Release

1803d ago

PHP version history (2 changes)0.1.0PHP &gt;=7.1

0.2.0PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/955f3d564811dc5e1212c1a7a66bc4eb7e11ac166cc38600f244dc25f97d3ef4?d=identicon)[stk2k](/maintainers/stk2k)

---

Top Contributors

[![stk2k](https://avatars.githubusercontent.com/u/985640?v=4)](https://github.com/stk2k "stk2k (10 commits)")

---

Tags

phputilityutil

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[bdelespierre/underscore

Underscore.js port in PHP

6943.7k1](/packages/bdelespierre-underscore)[swlib/util

Swlib Toolkit

11144.6k3](/packages/swlib-util)

PHPackages © 2026

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