PHPackages                             muvon/kiss-varint - 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. muvon/kiss-varint

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

muvon/kiss-varint
=================

varint read and pack convertion int/uint

0.3.0(4y ago)01.3k12MITPHP

Since Jul 25Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Muvon/php-kiss-varint)[ Packagist](https://packagist.org/packages/muvon/kiss-varint)[ RSS](/packages/muvon-kiss-varint/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (2)

php-kiss-varint
===============

[](#php-kiss-varint)

KISS implementation of varint encode and decoder for int/uint

Basic usage
-----------

[](#basic-usage)

```
use Muvon\KISS\VarInt;

VarInt::packInt($value); // Pack value to a signed variable integer, little-endian
VarInt::packUint($value); // Pack value to signed variable integer, little-endian
VarInt::readInt($hex); // Unpack hex string as signed integer
VarInt::readUint($hex); // Unpack hax string as unsigned integer
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.3% 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 ~40 days

Total

4

Last Release

1631d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/63024506f19e213d456eab6179ffa1e95d5f2b4ee19aa06063f754a4cb3f113d?d=identicon)[muvon](/maintainers/muvon)

---

Top Contributors

[![donhardman](https://avatars.githubusercontent.com/u/59067742?v=4)](https://github.com/donhardman "donhardman (12 commits)")[![soulseekah](https://avatars.githubusercontent.com/u/685880?v=4)](https://github.com/soulseekah "soulseekah (1 commits)")

---

Tags

lightweightencoderdecoderintuintkissbitcloutvarint

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/muvon-kiss-varint/health.svg)

```
[![Health](https://phpackages.com/badges/muvon-kiss-varint/health.svg)](https://phpackages.com/packages/muvon-kiss-varint)
```

###  Alternatives

[riimu/kit-phpencoder

Highly customizable alternative to var\_export for PHP code generation

717.8M32](/packages/riimu-kit-phpencoder)[dflydev/base32-crockford

Encode/decode numbers using Douglas Crockford's Base32 Encoding

14379.1k1](/packages/dflydev-base32-crockford)[sunrise/vin

VIN decoder for PHP 7.1+ based on ISO-3779

83127.0k](/packages/sunrise-vin)[base62/base62

base62 encoder and decoder also for big numbers with Laravel integration

169.5k](/packages/base62-base62)[rinvex/universities

Rinvex Universities is a simple and lightweight package for retrieving university details with flexibility. A whole bunch of data including name, country, state, email, website, telephone, address, and much more attributes for the 17k+ known universities worldwide at your fingertips.

6716.1k](/packages/rinvex-universities)[ashleydawson/simple-pagination

Simple, lightweight and universal service that implements pagination on collections of things

18161.2k2](/packages/ashleydawson-simple-pagination)

PHPackages © 2026

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