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(2mo ago)0188↓45.5%[15 issues](https://github.com/zeggriim2/riot-api-datadragon/issues)1MITPHPPHP ^8.2CI passing

Since Jan 22Pushed 2mo 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 1mo ago

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

48

—

FairBetter than 95% of packages

Maintenance87

Actively maintained with recent releases

Popularity14

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

64d 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://www.gravatar.com/avatar/6280a6440037d23ea8ff12dc4ae0799f17ba005a880fed8f91647e4ac7035888?d=identicon)[Zeggriim](/maintainers/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.4k5.6M651](/packages/sylius-sylius)[sulu/sulu

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

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[cravler/maxmind-geoip-bundle

Bundle integrating MaxMind GeoIP2 database into symfony application

27615.8k2](/packages/cravler-maxmind-geoip-bundle)[acseo/typesense-bundle

This bundle provides integration with Typesense in Symfony

71112.0k1](/packages/acseo-typesense-bundle)

PHPackages © 2026

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