PHPackages                             grizz-it/codec - 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. grizz-it/codec

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

grizz-it/codec
==============

Encoding and decoding for PHP applications.

1.1.0(5y ago)1873↓100%2MITPHPPHP ^8.0

Since Apr 3Pushed 5y ago1 watchersCompare

[ Source](https://github.com/grizz-it/codec)[ Packagist](https://packagist.org/packages/grizz-it/codec)[ RSS](/packages/grizz-it-codec/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (2)

[![Build Status](https://camo.githubusercontent.com/7ab65ef7c9588c58295a80299d38d26cd93175c8abf8cf784f8b7325920f41c6/68747470733a2f2f7472617669732d63692e636f6d2f6772697a7a2d69742f636f6465632e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/grizz-it/codec)

GrizzIT Codec
=============

[](#grizzit-codec)

This package contains a standard for encoding and decoding within PHP applications. It also provides two implementations and a registry which can be used immediately.

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

[](#installation)

To install the package run the following command:

```
composer require grizz-it/codec

```

Usage
-----

[](#usage)

Please see the [documentation](docs/index.md) for information on the usage of this package.

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

MIT License
-----------

[](#mit-license)

Copyright (c) GrizzIT

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

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

Total

3

Last Release

1901d ago

PHP version history (3 changes)1.0.0PHP ^7.2

1.0.1PHP ^7.3

1.1.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/6463856a0e35d69706d07c4e44fd1c9e67e27c34efeeef5334b238b1b3410e9c?d=identicon)[GrizzIT](/maintainers/GrizzIT)

---

Top Contributors

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

---

Tags

codecdecodingencodingphpencoderdecodercodec

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/grizz-it-codec/health.svg)

```
[![Health](https://phpackages.com/badges/grizz-it-codec/health.svg)](https://phpackages.com/packages/grizz-it-codec)
```

###  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)

PHPackages © 2026

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