PHPackages                             sunxyw/pdx-code - 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. sunxyw/pdx-code

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

sunxyw/pdx-code
===============

A PHP library to parse (decode) Paradox-format code, includes Pdxtxt.

1.0.1(3y ago)04MITPHPPHP ^8.0

Since Jun 24Pushed 3y ago1 watchersCompare

[ Source](https://github.com/sunxyw/pdx-code)[ Packagist](https://packagist.org/packages/sunxyw/pdx-code)[ RSS](/packages/sunxyw-pdx-code/feed)WikiDiscussions main Synced today

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

Paradox Code
============

[](#paradox-code)

A PHP library to parse (decode) Paradox-format code, includes Pdxtxt.

Powered by [phplrt](https://github.com/phplrt/phplrt).

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

[](#installation)

```
composer require sunxyw/pdx-code
```

Usage
-----

[](#usage)

```
$sample =

        energy

                tradable
                yes

                category
                basic

                max
                50000

                deficit_situation
                situation_energy_deficit

                ai_weight

                        weight
                        1.5

                ai_wants

                        base
                        500

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Every ~0 days

Total

2

Last Release

1105d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0074b4d8ef244d2d516e67fe7949e287b37eeee02d4adfa0da953077bf7e0121?d=identicon)[sunxyw](/maintainers/sunxyw)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/sunxyw-pdx-code/health.svg)

```
[![Health](https://phpackages.com/badges/sunxyw-pdx-code/health.svg)](https://phpackages.com/packages/sunxyw-pdx-code)
```

###  Alternatives

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19139.2M47](/packages/mck89-peast)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9843.5k](/packages/sauladam-shipment-tracker)[butschster/proto-parser

Proto parser is a library for parsing Protocol Buffers files into AST

591.3k](/packages/butschster-proto-parser)[serafim/json5

JSON5 parser

241.1k](/packages/serafim-json5)[tcds-io/php-jackson

A lightweight, flexible object serializer for PHP, inspired by FasterXML/jackson

113.2k10](/packages/tcds-io-php-jackson)

PHPackages © 2026

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