PHPackages                             thefox/utilities - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. thefox/utilities

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

thefox/utilities
================

Collection of usefull PHP utilities.

v2.0.0(8y ago)65.4k210GPL-3.0PHPPHP ^7.1CI failing

Since Apr 30Pushed 6y ago2 watchersCompare

[ Source](https://github.com/TheFox/utilities)[ Packagist](https://packagist.org/packages/thefox/utilities)[ Docs](https://fox21.at)[ RSS](/packages/thefox-utilities/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)Dependencies (2)Versions (20)Used By (10)

Utilities
=========

[](#utilities)

Collection of useful PHP utilities.

Project Outlines
----------------

[](#project-outlines)

The project outlines as described in my blog post about [Open Source Software Collaboration](https://blog.fox21.at/2019/02/21/open-source-software-collaboration.html).

- The main purpose of this collection is to provide common single functions or classes, which are too small for a separate project.
- This list is open. Feel free to request features.

Features
--------

[](#features)

- PHP 7 compatible.
- [Hexadecimal](https://en.wikipedia.org/wiki/Hexadecimal) encoding.
- [LEB128](https://en.wikipedia.org/wiki/LEB128) encoding.
- Debug [binary](https://en.wikipedia.org/wiki/Binary_number) data.
- Generate random data using [mt\_rand()](http://php.net/manual/en/function.mt-rand.php).
- Big/Little endian converter.

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

[](#installation)

The preferred method of installation is via [Packagist](https://packagist.org/packages/thefox/utilities) and [Composer](https://getcomposer.org/). Run the following command to install the package and add it as a requirement to composer.json:

```
composer require thefox/utilities
```

Links
-----

[](#links)

- [Packagist Package](https://packagist.org/packages/thefox/utilities)
- [PHPWeekly - Issue October 16, 2014](http://www.phpweekly.com/archive/2014-10-16.html)

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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 ~75 days

Recently: every ~251 days

Total

19

Last Release

3048d ago

Major Versions

v1.11.0 → v2.0.02018-01-12

PHP version history (4 changes)v1.0.0PHP &gt;=5.3

v1.10.0PHP ~5.3 || ~7.0

v1.11.0PHP ^7.0

v2.0.0PHP ^7.1

### Community

Maintainers

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

---

Top Contributors

[![TheFox](https://avatars.githubusercontent.com/u/353709?v=4)](https://github.com/TheFox "TheFox (122 commits)")

---

Tags

binarydebugencodinghexleb128mit-licensephpphp-libraryutilitiesrandomdebughexbinaryutilitiesrandbinhexadecimallittle-endianbig-endianendianleb128

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/thefox-utilities/health.svg)

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

###  Alternatives

[symfony/var-dumper

Provides mechanisms for walking through any arbitrary PHP variable

7.4k855.5M8.0k](/packages/symfony-var-dumper)[barryvdh/laravel-debugbar

PHP Debugbar integration for Laravel

19.2k124.3M624](/packages/barryvdh-laravel-debugbar)[php-debugbar/php-debugbar

Debug bar in the browser for php application

4.4k21.3M40](/packages/php-debugbar-php-debugbar)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[kint-php/kint

Kint - Advanced PHP dumper

2.8k19.3M283](/packages/kint-php-kint)[tracy/tracy

😎 Tracy: the addictive tool to ease debugging PHP code for cool developers. Friendly design, logging, profiler, advanced features like debugging AJAX calls or CLI support. You will love it.

1.8k24.4M1.3k](/packages/tracy-tracy)

PHPackages © 2026

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