PHPackages                             walterwoshid/dissect - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. walterwoshid/dissect

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

walterwoshid/dissect
====================

A set of tools for lexical and syntactical analysis written in pure PHP - Fork by WalterWoshid

2.0.2(1y ago)2553MITPHPPHP &gt;=8.0

Since Nov 21Pushed 1y ago2 watchersCompare

[ Source](https://github.com/WalterWoshid/php-dissect)[ Packagist](https://packagist.org/packages/walterwoshid/dissect)[ Docs](https://github.com/jakubledl/dissect)[ RSS](/packages/walterwoshid-dissect/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (6)Used By (0)

PHP Dissect
===========

[](#php-dissect)

 [ ![License: MIT](https://camo.githubusercontent.com/18265ffa710f93b46bd4f74b3de525cb270501a5e50987f0846adcb14f16d144/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d3943303030302e7376673f6c6162656c436f6c6f723d656264626232267374796c653d666c6174266c6f676f3d646174613a696d6167652f7376672b786d6c3b6261736536342c50484e325a79423462577875637a30696148523063446f764c336433647935334d793576636d63764d6a41774d43397a646d6369494864705a48526f505349784e434967614756705a326830505349784e43492b5048426864476767646d566a644739794c57566d5a6d566a64443069626d39754c584e6a59577870626d6374633352796232746c4969426b50534a4e4d4341794c6a6b354e5767784c6a4934646a67754d4446494d48704e4d6934314e43417a614445754d6a68324e53347a4e4567794c6a5530656d30794c6a55314c5334774d44566f4d5334794f4859344c6a4178534455754d446c36625449754e5451754d444133614445754d6a68324d53347a4d7a5a494e7934324d336f6949475a706247773949694d35597a41774d4441694c7a343863474630614342325a574e30623349745a575a6d5a574e3050534a756232347463324e6862476c755a79317a64484a766132556949475139496b30334c6a597a494455754e6a5a6f4d5334794f4659784d5567334c6a597a656949675a6d6c7362443069497a646a4e3251335a534976506a78775958526f49485a6c593352766369316c5a6d5a6c59335139496d35766269317a593246736157356e4c584e30636d39725a5349675a443069545445774c6a45334e79417a4c6a41774d6d677a4c6a67794e6e59784c6a4d7a4e6d67744d7934344d6a5a36625334774d444d674d6934324e54686f4d5334794f4659784d5767744d5334794f486f6949475a706247773949694d35597a41774d4441694c7a34384c334e325a7a343d) ](https://opensource.org/licenses/MIT) [ ![Twitter: @WalterWoshid](https://camo.githubusercontent.com/f13714295371522a87e6ccf86f7237671551e94e4d84d78b2c2202a1364f3a98/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4057616c746572576f736869642d547769747465723f6c6162656c436f6c6f723d656264626232267374796c653d666c6174266c6f676f3d74776974746572266c6f676f436f6c6f723d34353835383826636f6c6f723d343538353838266c6162656c3d54776974746572) ](https://twitter.com/WalterWoshid) [ ![PHP: >=8.0](https://camo.githubusercontent.com/f3ae7bbadb48bce0a221f2c4eea510ce023f958ed79283aeb5620b7395b37399/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d3e3d382e302d3443353738392e7376673f6c6162656c436f6c6f723d656264626232267374796c653d666c6174266c6f676f3d706870266c6f676f436f6c6f723d344335373839) ](https://www.php.net) [ ![Packagist](https://camo.githubusercontent.com/31885efdfe2950670e2529097572f681a0921bc9024aca09482ca12664aa2fdc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77616c746572776f736869642f646973736563743f6c6162656c3d5061636b6167697374266c6162656c436f6c6f723d656264626232267374796c653d666c617426636f6c6f723d666538303139266c6f676f3d7061636b6167697374) ](https://packagist.org/packages/walterwoshid/dissect) [ ![Build](https://camo.githubusercontent.com/ae9b66538d8965ab2b96076dca8d532ad833bcb025ac9b1a453617c6d0a3f585/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f57616c746572576f736869642f7068702d646973736563742f7068702d74657374732e796d6c3f6c6162656c3d4275696c64266c6162656c436f6c6f723d656264626232267374796c653d666c6174266c6f676f3d646174613a696d6167652f7376672b786d6c3b6261736536342c50484e325a79423462577875637a30696148523063446f764c336433647935334d793576636d63764d6a41774d43397a646d6369494864705a48526f505349784e694967646d6c6c64304a76654430694d434177494455784d6941314d5449694947686c6157646f644430694d545969506a78775958526f49475a706247773949694d32595746694d6a416949475139496b307a4d7934354d5451674e44457a4c6a59784d6d67784e446b754e5456324d6a63754e546b31534449334c6a51354e474d744d6a59754d7a5134494441744d7a51754d544d324c54457a4c6a45354e4330794d5334334d6a6b744d7a51754d7a464d4d544d334c6a6b78494445344e7934334e544e574e6a45754f546331614330794e6934774e7a566a4c5445354c6a55774e4341774c5445354c6a55774e4330794e7934314f5455674d4330794e7934314f54566f4d5467354c6a6b7a597a45354c6a55774e534177494445354c6a55774e5341794e7934314f5455674d4341794e7934314f5456494d6a63314c6a5935646a457a4d6934344d6a686f4c5449334c6a6b324d3159324d5334354e7a566f4c5467784c6a67314e4859784d7a49754f44493454444d7a4c6a6b784e4341304d544d754e6a4579656d30784d7a55754e6930784e6a6b754d546733544467304c6a59354d69417a4f4459754e546330614463774c6a59774d5777784d4451754d7a63314c5445784d6934354d4463744d5455754e5467794c5449354c6a49304d6d67744e7a51754e546436625445304e5334354f5459674f5334334f444e4d4d6a41354c6a55674d7a59334c6a55774e6d77784d4459754d4445674d5445774c6a49344e69417a4d7934314d7a67744d7a4d754e544d344c5467774c6a59314c5463324c6a63304f4341344d4334324e5330334f5334334e69307a4d7934314d7a67744d7a4d754e544d34656d30314e6934354e444d674d7a4d754e544d33494467774c6a5931494463354c6a63324c5467774c6a5931494463324c6a633149444d7a4c6a557a4f43417a4d7934314d7a644d4e54457949444d324e7934314d4459674e4441314c6a6b35494449314e4334794d4468734c544d7a4c6a557a4e79417a4d7934314d7a64364969382b5043397a646d632b) ](../../actions/workflows/php-tests.yml)

 [ ![Coverage - PHP 8.0](https://camo.githubusercontent.com/bdff42a4e0ddd0a352f41c2db85e63a5694abc74ea54de44bac1a15d7df4b2f1/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f57616c746572576f736869642f7068702d646973736563743f666c61673d6f732d7562756e74752d6c61746573745f7068702d382e30266c6162656c3d436f766572616765202d2050485020382e30266c6162656c436f6c6f723d656264626232267374796c653d666c6174266c6f676f3d636f6465636f76266c6f676f436f6c6f723d46464331303726636f6c6f723d464643313037) ](https://app.codecov.io/gh/WalterWoshid/php-dissect/flags) [ ![Coverage - PHP 8.1](https://camo.githubusercontent.com/b99b63480a39d6ad0e6ca8762fc251da8cea9a3553b2f49f5c0c8c430848cd08/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f57616c746572576f736869642f7068702d646973736563743f666c61673d6f732d7562756e74752d6c61746573745f7068702d382e31266c6162656c3d436f766572616765202d2050485020382e31266c6162656c436f6c6f723d656264626232267374796c653d666c6174266c6f676f3d636f6465636f76266c6f676f436f6c6f723d46464331303726636f6c6f723d464643313037) ](https://app.codecov.io/gh/WalterWoshid/php-dissect/flags) [ ![Coverage - PHP 8.2](https://camo.githubusercontent.com/b4ccf53ff2f543a7070b57e91398c51971eb0c05be9d4997c63bde5741b41382/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f57616c746572576f736869642f7068702d646973736563743f666c61673d6f732d7562756e74752d6c61746573745f7068702d382e32266c6162656c3d436f766572616765202d2050485020382e32266c6162656c436f6c6f723d656264626232267374796c653d666c6174266c6f676f3d636f6465636f76266c6f676f436f6c6f723d46464331303726636f6c6f723d464643313037) ](https://app.codecov.io/gh/WalterWoshid/php-dissect/flags) [ ![Coverage - PHP 8.3](https://camo.githubusercontent.com/15bcb354a3f2b3fa7ca0a083ae30d2a06df8182da1f0908d2b482799890be06a/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f57616c746572576f736869642f7068702d646973736563743f666c61673d6f732d7562756e74752d6c61746573745f7068702d382e33266c6162656c3d436f766572616765202d2050485020382e33266c6162656c436f6c6f723d656264626232267374796c653d666c6174266c6f676f3d636f6465636f76266c6f676f436f6c6f723d46464331303726636f6c6f723d464643313037) ](https://app.codecov.io/gh/WalterWoshid/php-dissect/flags)

Dissect is a set of tools for lexical and syntactical analysis written in pure PHP.
-----------------------------------------------------------------------------------

[](#dissect-is-a-set-of-tools-for-lexical-and-syntactical-analysis-written-in-pure-php)

### This library is forked from

[](#this-library-is-forked-from-httpsgithubcomjakubledldissect)

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

[](#installation)

```
composer require walterwoshid/dissect
```

Documentation?
==============

[](#documentation)

[Here](docs/index.md).

Testing
-------

[](#testing)

- Run `composer run-script test`
    or
- Run `composer run-script test-coverage`

Show your support
-----------------

[](#show-your-support)

Give a ⭐ if this project helped you!

📝 License
---------

[](#-license)

Copyright © 2023 [Valentin Wotschel](https://github.com/WalterWoshid).
This project is [MIT](https://opensource.org/licenses/MIT) licensed.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.5% 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 ~207 days

Total

4

Last Release

643d ago

Major Versions

1.0 → 2.0.02023-02-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/37f7c13a71918329aa63e5e3a28b121d26442ce1668a731bb00005dd972d134a?d=identicon)[WalterWoshid](/maintainers/WalterWoshid)

---

Top Contributors

[![WalterWoshid](https://avatars.githubusercontent.com/u/36635504?v=4)](https://github.com/WalterWoshid "WalterWoshid (19 commits)")[![kitbs](https://avatars.githubusercontent.com/u/4569320?v=4)](https://github.com/kitbs "kitbs (2 commits)")

---

Tags

parserastparsinglexing

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/walterwoshid-dissect/health.svg)

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

###  Alternatives

[jakubledl/dissect

Lexing and parsing in pure PHP

2244.6M11](/packages/jakubledl-dissect)[parsica-php/parsica

The easiest way to build robust parsers in PHP.

412140.4k4](/packages/parsica-php-parsica)[jejik/mt940

An MT940 bank statement parser for PHP

911.2M2](/packages/jejik-mt940)[denissimon/formula-parser

Parsing and evaluating mathematical formulas given as strings.

81306.8k3](/packages/denissimon-formula-parser)[tmilos/scim-filter-parser

System for Cross-domain Identity Management SCIM AST filter parser PHP library

111.7M6](/packages/tmilos-scim-filter-parser)[atanamo/php-codeshift

A PHP code transformation toolkit based on 'PHP-Parser'

32158.4k1](/packages/atanamo-php-codeshift)

PHPackages © 2026

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