PHPackages                             rborges/dnd-5e-wrapper - 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. rborges/dnd-5e-wrapper

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

rborges/dnd-5e-wrapper
======================

A Dnd 5e PHP wrapper made with symfony

030PHP

Since Jan 31Pushed 4y ago1 watchersCompare

[ Source](https://github.com/rborges13795/dnd-5e-wrapper)[ Packagist](https://packagist.org/packages/rborges/dnd-5e-wrapper)[ RSS](/packages/rborges-dnd-5e-wrapper/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

dnd-5e-wrapper
==============

[](#dnd-5e-wrapper)

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

[](#installation)

You can clone the repository to a path of your choice or install via composer.

```
composer require rborges/dnd-5e-wrapper

```

Usage
-----

[](#usage)

### There are 12 entities total including these ones

[](#there-are-12-entities-total-including-these-ones)

```
use Dnd5eApi\DndApi;

$dndApi = new DndApi();
//get dnd classes
$class = $dnd->classes();
//get specific class
$bard = $class->bard();
//get bard proficiencies
$bardProficiencies = $bard->getProficiencies();
//get dnd races
$race = $dnd->races();
$dwarf = $race->dwarf();
$dwarfStartingProficencies = $dwarf->getStartingProficiencies();

```

Tests
-----

[](#tests)

To test the app simply use

```
composer test

```

The Data
--------

[](#the-data)

This app uses the 'Dungeons and Dragons 5th Edition REST API v1' api as the source of the data used. You can find it [here](https://www.programmableweb.com/api/dungeons-and-dragons-5th-edition-rest-api-v1).

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

[](#requirements)

- PHP &gt;= 7.3
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![rborges13795](https://avatars.githubusercontent.com/u/68488505?v=4)](https://github.com/rborges13795 "rborges13795 (47 commits)")

---

Tags

api-wrapper

### Embed Badge

![Health badge](/badges/rborges-dnd-5e-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/rborges-dnd-5e-wrapper/health.svg)](https://phpackages.com/packages/rborges-dnd-5e-wrapper)
```

###  Alternatives

[nativephp/electron

Electron wrapper for the NativePHP framework.

519114.4k8](/packages/nativephp-electron)[kadet/keylighter

Yet another syntax highlighter for PHP

333.2k1](/packages/kadet-keylighter)[code16/formoj

Customizable form renderer

332.6k](/packages/code16-formoj)[nullthoughts/laravel-data-sync

Laravel utility to keep records synced between environments through source control

331.4k](/packages/nullthoughts-laravel-data-sync)

PHPackages © 2026

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