Easy access to the Hi-Rez Studios API for Paladins

v1.2.6 2018-02-18 21:34 UTC


A simple object-oriented approach to data in the Paladins API (a game from Hi-Rez Studios).

For more information about the Paladins API, refer to the official API documentation.


  • PHP 5.4 or greater
  • DevID and AuthKey from Hi-Rez (submit this form)


$ composer require team-reflex/paladins-api


// Create api
$api = new Reflex\Paladins\API(DEV_ID, AUTH_KEY);

// optional session caching via many providers
// see
$api->useCache(new \Onoi\Cache\ZendCache($zendCacheThing));
$api->useCache(new \Onoi\Cache\DoctrineCache($doctrineCacheThing));
$api->useCache(new \Onoi\Cache\MediaWikiCache(wfGetCache(CACHE_ANYTHING)));

// returns objects by default
// will now return assoc arrays

// returns english language gods and item names by default
// use IETF language tag to select language
// (latin america becomes es-419)

// get player info
$playerData = $api->getplayer($playerName);

// get info on silver 3 ladder in season 4
$ladderData = $api->getleagueleaderboard('Conquest5v5', 'Silver3', 4);

Laravel Cache

We have an Illuminate driver for onoi/cache found here:


  1. Fork
  2. git clone
  3. composer install
  4. Hack
  5. Confirm (and write new) passing tests: vendor/bin/phpunit
  6. Submit pull request


Copyright 2015 Curse, Inc.

Free for you to use under LGPLv3. See LICENSE for an abundance of words.