PHPackages                             kaitai-io/kaitai\_struct\_php\_runtime - 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. kaitai-io/kaitai\_struct\_php\_runtime

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

kaitai-io/kaitai\_struct\_php\_runtime
======================================

Kaitai Struct: runtime library for PHP

0.11(1y ago)128.0k5[1 issues](https://github.com/kaitai-io/kaitai_struct_php_runtime/issues)MITPHPPHP ^7.1.1 || ^8.0CI failing

Since Oct 28Pushed 1mo ago6 watchersCompare

[ Source](https://github.com/kaitai-io/kaitai_struct_php_runtime)[ Packagist](https://packagist.org/packages/kaitai-io/kaitai_struct_php_runtime)[ Docs](https://github.com/kaitai-io/kaitai_struct_php_runtime)[ RSS](/packages/kaitai-io-kaitai-struct-php-runtime/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (6)Used By (0)

Kaitai Struct: runtime library for PHP
======================================

[](#kaitai-struct-runtime-library-for-php)

[![Packagist](https://camo.githubusercontent.com/8c05650704dbb62d1f7f2c12b1da03f80759fdc5d0640ebb2bce45527c8cf6d4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b61697461692d696f2f6b61697461695f7374727563745f7068705f72756e74696d65)](https://packagist.org/packages/kaitai-io/kaitai_struct_php_runtime)[![Packagist downloads](https://camo.githubusercontent.com/31f357d4e1809896624d16b8761cfd534f8bf4c158e7136c9854784dbb4f501f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6b61697461692d696f2f6b61697461695f7374727563745f7068705f72756e74696d65)](https://packagist.org/packages/kaitai-io/kaitai_struct_php_runtime/stats#:~:text=Last%2030%20days)[![PHP version](https://camo.githubusercontent.com/9e41e13aeb8af5498f2c2e54dc6a3d8e20c3e63bd5a22dcf2f0ce2a04e94f246/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6b61697461692d696f2f6b61697461695f7374727563745f7068705f72756e74696d65)](https://packagist.org/packages/kaitai-io/kaitai_struct_php_runtime#:~:text=php%3A)

This library implements Kaitai Struct API for PHP.

Kaitai Struct is a declarative language used for describe various binary data structures, laid out in files or in memory: i.e. binary file formats, network stream packet formats, etc.

Further reading:

- [About Kaitai Struct](https://kaitai.io/)
- [About API implemented in this library](https://doc.kaitai.io/stream_api.html)
- [PHP-specific notes](https://doc.kaitai.io/lang_php.html)

Licensing
---------

[](#licensing)

Copyright 2015-2026 Kaitai Project: MIT license

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

48

—

FairBetter than 94% of packages

Maintenance72

Regular maintenance activity

Popularity32

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 72.7% 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 ~774 days

Total

5

Last Release

384d ago

PHP version history (3 changes)0.5PHP ^7.0

0.10PHP ^7.0 || ^8.0

0.11PHP ^7.1.1 || ^8.0

### Community

Maintainers

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

---

Top Contributors

[![generalmimon](https://avatars.githubusercontent.com/u/47499687?v=4)](https://github.com/generalmimon "generalmimon (48 commits)")[![GreyCat](https://avatars.githubusercontent.com/u/157154?v=4)](https://github.com/GreyCat "GreyCat (18 commits)")

---

Tags

kaitai-structphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kaitai-io-kaitai-struct-php-runtime/health.svg)

```
[![Health](https://phpackages.com/badges/kaitai-io-kaitai-struct-php-runtime/health.svg)](https://phpackages.com/packages/kaitai-io-kaitai-struct-php-runtime)
```

PHPackages © 2026

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