PHPackages                             dexen/mulib - 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. dexen/mulib

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

dexen/mulib
===========

Micro utilities. UUID generators, debug, LZ4 decompression.

0.0.8(6y ago)1531MITPHP

Since Nov 16Pushed 4y ago1 watchersCompare

[ Source](https://github.com/dexen/mulib)[ Packagist](https://packagist.org/packages/dexen/mulib)[ Docs](https://github.com/dexen/mulib)[ RSS](/packages/dexen-mulib/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (9)Used By (0)

dexen/mulib
===========

[](#dexenmulib)

Fast UUID v4 generator for PHP: 1MM in 0.7 second.

LZ4 decompressor in pure PHP, good for about 30MB/s. For sake of simplicity checksums are not verified.

[Composer](https://packagist.org/packages/dexen/mulib) and [PSR-4](https://www.php-fig.org/psr/psr-4/) friendly.

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

[](#installation)

```
composer require dexen/mulib

```

Usage
-----

[](#usage)

Basic usage:

```
$uuid_v4 = \dexen\mulib\Uuid::generateUuidV4();
$uuid_v5 = \dexen\mulib\Uuid::generateUuidV5($namespace_uuid, $name);
$decompressed = \dexen\mulib\Lz4::decompress(file_get_contents('my-data.lz4'));
```

An lz4cat replacement is available for shell use:

```
lz4cat-php < my-data.lz4 > my-data

```

Consider defining a helper

```
function generate_uuid_v4() : string
{
	return \dexen\mulib\Uuid::generateUuidV4();
}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

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

Total

8

Last Release

2264d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2b7f4cde9736398ffa0fdce83c31318d4a04eecdcb8729aa685ffa19e9a1e2f0?d=identicon)[dexen](/maintainers/dexen)

---

Top Contributors

[![dexen](https://avatars.githubusercontent.com/u/511513?v=4)](https://github.com/dexen "dexen (63 commits)")

---

Tags

compressiondecompressionlz4phpuuiddebuguuidutils

### Embed Badge

![Health badge](/badges/dexen-mulib/health.svg)

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

###  Alternatives

[ramsey/uuid

A PHP library for generating and working with universally unique identifiers (UUIDs).

12.6k700.2M3.3k](/packages/ramsey-uuid)[symfony/polyfill-uuid

Symfony polyfill for uuid functions

688335.4M63](/packages/symfony-polyfill-uuid)[danielstjules/stringy

A string manipulation library with multibyte support

2.4k26.0M191](/packages/danielstjules-stringy)[symfony/uid

Provides an object-oriented API to generate and represent UIDs

610280.0M754](/packages/symfony-uid)[webpatser/laravel-uuid

Laravel integration for webpatser/uuid - High-performance drop-in UUID replacements (15% faster than Ramsey). Provides Str macros, HasUuids trait, facades, and casts. RFC 4122/9562 compliant.

1.8k17.3M129](/packages/webpatser-laravel-uuid)[voku/arrayy

Array manipulation library for PHP, called Arrayy!

4875.5M16](/packages/voku-arrayy)

PHPackages © 2026

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