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. [Database &amp; ORM](/categories/database)
4. /
5. cydh/dp2ra

ActiveLibrary[Database &amp; ORM](/categories/database)

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 today

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

26

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

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

2526d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4016864?v=4)[Cydh Ramdh](/maintainers/cydh)[@cydh](https://github.com/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)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.8k117.8M121](/packages/jdorn-sql-formatter)[backup-manager/backup-manager

A framework agnostic database backup manager with user-definable procedures and support for S3, Dropbox, FTP, SFTP, and more with drivers for popular frameworks.

1.7k1.6M11](/packages/backup-manager-backup-manager)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M88](/packages/propel-propel1)[insolita/yii2-migration-generator

Set of gii tools for generating files for migration by schema of table , phpdoc or table data

108508.0k5](/packages/insolita-yii2-migration-generator)[xpdo/xpdo

A PDO-based Object/Relational Bridge Library

7088.4k4](/packages/xpdo-xpdo)[coryrose/livewire-tables

An extension for Livewire that allows you to effortlessly scaffold datatables with optional pagination, search, and sort.

8941.5k](/packages/coryrose-livewire-tables)

PHPackages © 2026

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