PHPackages                             luoyy/crc16 - 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. luoyy/crc16

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

luoyy/crc16
===========

php crc16 component

v1.0.0(4y ago)040PHPPHP &gt;=8.1.0

Since Mar 16Pushed 4y ago1 watchersCompare

[ Source](https://github.com/zishang520/crc16)[ Packagist](https://packagist.org/packages/luoyy/crc16)[ RSS](/packages/luoyy-crc16/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependenciesVersions (2)Used By (0)

CRC16
=====

[](#crc16)

Default support: `ccittfalse`, `arc`, `augccitt`, `buypass`, `cdma2000`, `dds110`, `dectr`, `dectx`, `dnp`, `en13757`, `genibus`, `maxim`, `mcrf4xx`, `riello`, `t10dif`, `teledisk`, `tms37157`, `usb`, `a`, `kermit`, `modbus`, `x25`, `xmodem`

### Installation package

[](#installation-package)

```
composer require luoyy/crc16
```

### Quick Sample Usage

[](#quick-sample-usage)

```
/**
 * DEMO
 */
use luoyy\Crc16\Crc16;

var_dump(Crc16::make(Crc16::HEX, 'ABCD', Crc16::MODBUS));
var_dump(Crc16::dechex(Crc16::make(Crc16::HEX, 'ABCD', Crc16::MODBUS), true)); // The little-endian byte order used by the C language by default.
var_dump(Crc16::make(Crc16::STRING, 'ABCD', Crc16::A));
// If you need custom polynomial:
var_dump(Crc16::string('test', 0x0001, 0x0001, 0x0001, false, false));
var_dump(Crc16::hex('ABCD', 0x0001, 0x0001, 0x0001, false, false));
// Next, use your abilities.
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Unknown

Total

1

Last Release

1561d ago

### Community

Maintainers

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

---

Top Contributors

[![zishang520](https://avatars.githubusercontent.com/u/10894778?v=4)](https://github.com/zishang520 "zishang520 (1 commits)")

---

Tags

crc16modbusxmodemaarcccittfalseaugccittbuypasscdma2000dds110dectrdectxdnpen13757genibusmaximmcrf4xxriellot10difteledisktms37157usbkermitx25

### Embed Badge

![Health badge](/badges/luoyy-crc16/health.svg)

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

###  Alternatives

[aldas/modbus-tcp-client

Modbus TCP protocol client library

213140.0k](/packages/aldas-modbus-tcp-client)[yavin/symfony-form-tree

create select field with indentation for tree structure

1591.1k2](/packages/yavin-symfony-form-tree)

PHPackages © 2026

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