PHPackages                             zeggriim/riot-api-datadragon - 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. zeggriim/riot-api-datadragon

ActiveLibrary[API Development](/categories/api)

zeggriim/riot-api-datadragon
============================

Riot DataDragon API wrapper

v2.0.7(3mo ago)0209↓93.6%[16 issues](https://github.com/zeggriim2/riot-api-datadragon/issues)1MITPHPPHP ^8.2CI passing

Since Jan 22Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/zeggriim2/riot-api-datadragon)[ Packagist](https://packagist.org/packages/zeggriim/riot-api-datadragon)[ RSS](/packages/zeggriim-riot-api-datadragon/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (12)Versions (29)Used By (1)

Riot Api Data Dragon Bundle
===========================

[](#riot-api-data-dragon-bundle)

[Introduction](https://github.com/dolejska-daniel/riot-api/wiki/Home#introduction)
==================================================================================

[](#introduction)

Bienvenue sur le repo de la bibliothèque PHP DataDragon ! Le but de cette bibliothèque est de créer une bibliothèque facile à utiliser pour tous ceux qui en ont besoin.

Ce bundle Symfony 6 fournit une intégration simple et efficace avec l'API Riot Games notamment les données Data Dragon pour le jeu League of Legends. **(D'autres API arrivent)**. Il permet d'accéder facilement aux informations sur les champions, les objets, les sorts et bien plus encore, directement depuis votre application Symfony.

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

[](#installation)

Pour installer ce bundle, utilisez Composer :

```
composer require zeggriim/riot-api-data-dragon-bundle
```

### Ajouter le bundle

[](#ajouter-le-bundle)

```
// config/bundles.php
return [
    // Other Bundles
    Zeggriim\RiotApiDataDragon\RiotApiDataDragonBundle::class => ['all' => true],
];
```

### Configuration

[](#configuration)

Dans le fichier `.env` de l'environnement souhaité, ajouter :

```
API_RIO_BASE_URI='https://ddragon.leagueoflegends.com'

```

Exemple
=======

[](#exemple)

```
    namespace App\Controller;

    use Symfony\Component\HttpFoundation\Response;
    use Symfony\Component\Routing\Annotation\Route;
    use Zeggriim\RiotApiDataDragon\Endpoint\DataDragon\VersionApiInterface;

    class HomeController
    {
        #[Route('/home', name: 'app_home')]
        public function index(VersionApiInterface $versionApi): Response
        {
            $versionApi->getVersions();
            // ['14.8.1','14.7.1','14.6.1','14.5.1','14.4.1'....]
        }
    }
```

Liste Endpoints
===============

[](#liste-endpoints)

EndpointInterface[Champions &amp; Champion](https://developer.riotgames.com/docs/lol#data-dragon_champions)ChampionApiInterface[Items](https://developer.riotgames.com/docs/lol#data-dragon_items)ItemApiInterface[Languages](https://developer.riotgames.com/docs/lol#data-dragon_data-assets)LanguagesApiInterface[Profile Icon](https://developer.riotgames.com/docs/lol#data-dragon_other)ProfileIconApiInterface[Versions](https://developer.riotgames.com/docs/lol#data-dragon_versions)VersionApiInterface

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance79

Regular maintenance activity

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 76.6% 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 ~57 days

Recently: every ~158 days

Total

21

Last Release

111d ago

Major Versions

v0.0.3 → 1.0.12023-02-03

1.0.7 → 2.0.02024-04-18

2.0.6 → 3.0.0.x-dev2026-02-22

v2.0.7 → 3.0.x-dev2026-03-16

PHP version history (2 changes)v0.0.1PHP ^8.1

2.0.0PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/35917930?v=4)[Zeggriim](/maintainers/Zeggriim)[@zeggriim](https://github.com/zeggriim)

---

Top Contributors

[![zeggriim2](https://avatars.githubusercontent.com/u/51760726?v=4)](https://github.com/zeggriim2 "zeggriim2 (72 commits)")[![zeggriim](https://avatars.githubusercontent.com/u/35917930?v=4)](https://github.com/zeggriim "zeggriim (22 commits)")

---

Tags

apileagueleague-of-legendsphp

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/zeggriim-riot-api-datadragon/health.svg)

```
[![Health](https://phpackages.com/badges/zeggriim-riot-api-datadragon/health.svg)](https://phpackages.com/packages/zeggriim-riot-api-datadragon)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M737](/packages/sylius-sylius)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M577](/packages/shopware-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M204](/packages/sulu-sulu)[chameleon-system/chameleon-base

The Chameleon System core.

1028.6k5](/packages/chameleon-system-chameleon-base)

PHPackages © 2026

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