PHPackages                             exads/php-huffman - 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. exads/php-huffman

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

exads/php-huffman
=================

v1.0.3(3y ago)034.5k↓42.9%1PHP

Since Dec 15Pushed 3y agoCompare

[ Source](https://github.com/EXADS/PHP-Huffman)[ Packagist](https://packagist.org/packages/exads/php-huffman)[ RSS](/packages/exads-php-huffman/feed)WikiDiscussions master Synced 1mo ago

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

PHP-Huffman
===========

[](#php-huffman)

A fast and simple implementation of Huffman algorithm in PHP.

Install dependencies
--------------------

[](#install-dependencies)

```
composer install

```

Run application
---------------

[](#run-application)

Using the PHP built-in server for development purposes with the command:

```
composer serve

// composer.json
...
"scripts": {
    "serve": "php -S 0.0.0.0:9001 index.php"
}
...

```

Go to localhost:9001 to see Huffman samples

Enjoy!

Checking code for PSR-2
-----------------------

[](#checking-code-for-psr-2)

PHP\_CodeSniffer can test against PSR-2 coding style guidelines, you must run the phpcs composer script command line:

```
composer phpcs

```

If there is a note that phpcbf can fix some validations automatically, then you can run the phpcbf composer script command line:

```
composer phpcbf

```

About the comments
------------------

[](#about-the-comments)

This code is commented using the [PHPDoc](http://www.phpdoc.org/) comments so you can easily generate it's documentation.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

4

Last Release

1342d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4854dfe2a5e959bf49a2959969f68525024ce30796ce70784a0e9155ac2d8bc4?d=identicon)[golikov](/maintainers/golikov)

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

---

Top Contributors

[![Heru-Luin](https://avatars.githubusercontent.com/u/4009826?v=4)](https://github.com/Heru-Luin "Heru-Luin (7 commits)")[![dario-exads](https://avatars.githubusercontent.com/u/75363904?v=4)](https://github.com/dario-exads "dario-exads (3 commits)")[![tfoliveira](https://avatars.githubusercontent.com/u/6087428?v=4)](https://github.com/tfoliveira "tfoliveira (2 commits)")[![Kernald](https://avatars.githubusercontent.com/u/296840?v=4)](https://github.com/Kernald "Kernald (1 commits)")[![golikov](https://avatars.githubusercontent.com/u/3126345?v=4)](https://github.com/golikov "golikov (1 commits)")[![dridi-walid](https://avatars.githubusercontent.com/u/42480883?v=4)](https://github.com/dridi-walid "dridi-walid (1 commits)")[![gggordon](https://avatars.githubusercontent.com/u/6540335?v=4)](https://github.com/gggordon "gggordon (1 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/exads-php-huffman/health.svg)

```
[![Health](https://phpackages.com/badges/exads-php-huffman/health.svg)](https://phpackages.com/packages/exads-php-huffman)
```

###  Alternatives

[iconify/json

Iconify icons collection in JSON format

95655.3k12](/packages/iconify-json)[laravel-admin-ext/helpers

Helpers extension for laravel-admin

136285.0k8](/packages/laravel-admin-ext-helpers)[alibabacloud/dysmsapi-20170525

Alibaba Cloud Dysmsapi (20170525) SDK Library for PHP

18408.4k33](/packages/alibabacloud-dysmsapi-20170525)[shopsys/coding-standards

Coding standards definition compatible with PSR-2

20269.1k13](/packages/shopsys-coding-standards)[pirsch-analytics/laravel-pirsch

Official Laravel integration for Pirsch Analytics.

4746.1k2](/packages/pirsch-analytics-laravel-pirsch)[laravie/geotools

Geo-related tools PHP 7+ library

19105.4k1](/packages/laravie-geotools)

PHPackages © 2026

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