Download the PHP package dolejska-daniel/riot-api-datadragon without Composer
On this page you can find all versions of the php package dolejska-daniel/riot-api-datadragon. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dolejska-daniel/riot-api-datadragon
More information about dolejska-daniel/riot-api-datadragon
Files in dolejska-daniel/riot-api-datadragon
Package riot-api-datadragon
Short Description Riot DataDragon API wrapper for PHP8
License GPL-3.0-or-later
Homepage https://github.com/dolejska-daniel/riot-api
Informations about the package riot-api-datadragon
RiotAPI PHP wrapper for DataDragon
Version v1.0.0
Table of Contents
- Introduction
- Downloading
- DataDragon API
Introduction
Welcome to the DataDragon PHP library repo! The goal of this library is to create easy-to-use library for anyone who might need one.
Here are some handy features:
- Profile icon URL and HTML embed generating
- Champion splash image URL and HTML embed generating
- Champion loading image URL and HTML embed generating
- Champion icon URL and HTML embed generating
- Sprite image URL and HTML embed generating
- Spell, passive, item and summoner spell icon URL and HTML embed generating
- Runes reforged icon URL and HTML embed generating
- Static resource (champions, spells, items, runes, ...) loading and processing
Please, refer mainly to the wiki pages. This file contains only general introduction to library features.
Downloading
The easiest way to download and use this library is via Composer. If you are not using Composer yet, you should start right now!
While having Composer installed on your machine it takes only composer require "dolejska-daniel/riot-api-datadragon:^1"
command to get the library ready to roll!
For additional information about downloading and initial setup, please see the wiki pages.
DataDragon API
How easy is it to work with static images? For instance, to get loading screen art of Orianna?
Source:
Output:
Render:
...a bit of nostalgia?
Source:
Output:
Render:
...or to display icon of champion and its spells based on its object from API?
Source:
Output:
Render:
For more, please see the wiki pages. More usage examples for DataDragonAPI can be found here.
Other Riot APIs
Library Description | Latest Version | Stable Version |
---|---|---|
All APIs (metapackage) | ||
League of Legends API | ||
Teamfight Tactics API | ||
Legends of Runeterra API | ||
Valorant API |
All versions of riot-api-datadragon with dependencies
dolejska-daniel/riot-api-league Version ^2
php Version >=8.1
ext-json Version *