PHPackages                             cydh/dp2ra - 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. cydh/dp2ra

ActiveLibrary

cydh/dp2ra
==========

Convert Divine Pride item json-fetched info to rAthena database files

v1.2.1(6y ago)355GPL-3.0-onlyPHPPHP ^7.1.3

Since Sep 15Pushed 6y ago1 watchersCompare

[ Source](https://github.com/cydh/dp2ra)[ Packagist](https://packagist.org/packages/cydh/dp2ra)[ Docs](https://github.com/cydh)[ RSS](/packages/cydh-dp2ra/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

DP2RA Converter
===============

[](#dp2ra-converter)

> Convert Divine Pride item json-fetched info to [rAthena](https://github.com/rathena/rathena)

Requirements
------------

[](#requirements)

- PHP 7.1.3 or newer
- [Composer](https://getcomposer.org/download/)
- JSON formatted item info from [Divine-Pride](https://www.divine-pride.net/api/)'s API

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

[](#installation)

If you willing to use this as component,

```
composer require cydh/dp2ra

```

or download [latest version](https://github.com/cydh/dp2ra/releases) then install it by using composer

```
composer install

```

Usage
-----

[](#usage)

Then include autoload in PHP file (example: parse\_item.php)

```
require_once './vendor/autoload.php';

// Quick parse item data to output files
Cydh\DP2RA\Items::parse([
    "input" => "path/to/item_db.json",
    "output_itemdb" => "output/path/item_db.txt",
    "output_tradedb" => "output/path/item_trade.txt",
]);

// Quick parse monster data to output files
Cydh\DP2RA\Monsters::parse([
    "input" => "path/to/mob_db.json",
    "output_mobdb" => "output/path/mob_db.txt",
    "output_mobskilldb" => "output/path/mob_skill.txt",
    "output_spawn" => "output/path/spawn.txt",
]);
```

There are manual parsing &amp; file writing by initilizing `Cydh\DP2RA\Items` or `Cydh\DP2RA\Monsters` classes then call its methods.

Some parsers from Divine-Pride data structure (Aegis' enum/value) are written in `public static function` which can be called outside the class.

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

[](#contributing)

Make new issue or new pull request. This version is under development

### TODO

[](#todo)

- Items Parser
    - Card compound location
    - Applicable Job

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity53

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

2434d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5056597018369fed835f05913a819080fc2b29c2e767b2e6092c720c2b61fd22?d=identicon)[cydh](/maintainers/cydh)

---

Top Contributors

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

---

Tags

composerphprathena

### Embed Badge

![Health badge](/badges/cydh-dp2ra/health.svg)

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

PHPackages © 2026

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