PHPackages                             dofus-odyssey/dofusdb-php-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. [API Development](/categories/api)
4. /
5. dofus-odyssey/dofusdb-php-wrapper

ActiveLibrary[API Development](/categories/api)

dofus-odyssey/dofusdb-php-wrapper
=================================

A PHP wrapper for the DofusDb API, providing an easy and efficient way to access and interact with Dofus game data in PHP applications. It simplifies API calls and data handling for developers working on Dofus-related projects.

1.0.0(2y ago)1183MITPHP

Since Dec 20Pushed 2y agoCompare

[ Source](https://github.com/dofus-odyssey/dofusdb-php-wrapper)[ Packagist](https://packagist.org/packages/dofus-odyssey/dofusdb-php-wrapper)[ RSS](/packages/dofus-odyssey-dofusdb-php-wrapper/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (5)Versions (2)Used By (0)

DofusDB PHP Wrapper
===================

[](#dofusdb-php-wrapper)

[![CI Status](https://github.com/dofus-odyssey/dofusdb-php-wrapper/actions/workflows/ci.yml/badge.svg)](https://github.com/dofus-odyssey/dofusdb-php-wrapper/actions/workflows/ci.yml/badge.svg)

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

[](#installation)

```
composer require dofus-odyssey/dofusdb-php-wrapper
```

Usage
-----

[](#usage)

```
use DofusOdyssey\DofusdbPhpWrapper\QueryBuilder;
use DofusOdyssey\DofusdbPhpWrapper\ApiEndpoint;

// Find all breeds
$queryBuilder = new QueryBuilder(ApiEndpoint::BREEDS);
$queryBuilder->getQuery()->execute();

// Find all breed with a name equals to "Feca"
$queryBuilder = new QueryBuilder(ApiEndpoint::BREEDS);
$queryBuilder
    ->andWhere([
        ['field' => 'shortName.en', 'operator' => '=', 'value' => 'Feca'],
    ])
    ->getQuery()
    ->execute();

// Find all breed with a name equals to "Feca" or "Enutrof"
$queryBuilder = new QueryBuilder(ApiEndpoint::BREEDS);
$queryBuilder
    ->orWhere([
        ['field' => 'shortName.en', 'operator' => '=', 'value' => 'Feca'],
        ['field' => 'shortName.en', 'operator' => '=', 'value' => 'Enutrof'],
    ])
    ->getQuery()
    ->execute();

// Get the query parameters in string format
$queryBuilder = new QueryBuilder(ApiEndpoint::BREEDS);
$queryBuilder
    ->orWhere([
        ['field' => 'shortName.en', 'operator' => '=', 'value' => 'Feca'],
        ['field' => 'shortName.en', 'operator' => '=', 'value' => 'Enutrof'],
    ])
    ->getQuery()
    ->getRawQueryString();
// $or[0][shortName.en]=Feca&$or[1][shortName.en]=Enutrof
```

License
-------

[](#license)

This project is licensed under the MIT License. For more details, see the [LICENSE](LICENSE) file.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

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

927d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/84de11e2e40641fa1e21500fe2d67025da690ab0700832dd872e77005d70ee74?d=identicon)[Dylvn](/maintainers/Dylvn)

---

Top Contributors

[![Dylvn](https://avatars.githubusercontent.com/u/22519617?v=4)](https://github.com/Dylvn "Dylvn (2 commits)")

---

Tags

dofusdofus-apiphpwrapperwrapper-api

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/dofus-odyssey-dofusdb-php-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/dofus-odyssey-dofusdb-php-wrapper/health.svg)](https://phpackages.com/packages/dofus-odyssey-dofusdb-php-wrapper)
```

###  Alternatives

[storyblok/php-management-api-client

Storyblok PHP Client for Management API

1233.5k3](/packages/storyblok-php-management-api-client)

PHPackages © 2026

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