PHPackages                             team-reflex/smite-api - 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. team-reflex/smite-api

AbandonedArchivedLibrary[API Development](/categories/api)

team-reflex/smite-api
=====================

Easy access to the Hi-Rez Studios API for Smite

v1.2.6(8y ago)16.6kLGPL-3.0-or-laterPHPPHP &gt;=5.4.0

Since Jun 18Pushed 8y ago1 watchersCompare

[ Source](https://github.com/teamreflex/SmitePHP)[ Packagist](https://packagist.org/packages/team-reflex/smite-api)[ Docs](https://github.com/CurseStaff/SmitePHP)[ RSS](/packages/team-reflex-smite-api/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (9)Dependencies (4)Versions (12)Used By (0)

SmitePHP
========

[](#smitephp)

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

For use within WordPress, consider using the [official WP plugin from Hi-Rez](https://github.com/hirezstudios/smite-api-wp).

For more information about the Smite API, refer to the [official API documentation](https://docs.google.com/document/d/1OFS-3ocSx-1Rvg4afAnEHlT3917MAK_6eJTR6rzr-BM/).

Requirements
------------

[](#requirements)

- PHP 5.4 or greater
- DevID and AuthKey from Hi-Rez (submit [this form](https://fs12.formsite.com/HiRez/form48/secure_index.html))

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

[](#installation)

```
$ composer require team-reflex/smite-api

```

Usage
-----

[](#usage)

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

// optional session caching via many providers
// see https://github.com/onoi/cache/
$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
$api->preferredFormat('array');
// will now return assoc arrays

// returns english language gods and item names by default
$api->preferredLanguage('es');
// 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
-------------

[](#laravel-cache)

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

Contributing
------------

[](#contributing)

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

License
-------

[](#license)

Copyright 2015 Curse, Inc.

Free for you to use under LGPLv3. See [LICENSE](LICENSE) for an abundance of words.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 61.1% 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 ~97 days

Recently: every ~76 days

Total

11

Last Release

3053d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8c4b542cd7b5f3a4f3587cbb2ffe26e815b3c9aa9892c04fc5d93ec8d0db5d5e?d=identicon)[Kairu](/maintainers/Kairu)

---

Top Contributors

[![kylekz](https://avatars.githubusercontent.com/u/450516?v=4)](https://github.com/kylekz "kylekz (11 commits)")[![Alexia](https://avatars.githubusercontent.com/u/248632?v=4)](https://github.com/Alexia "Alexia (2 commits)")[![Telshin](https://avatars.githubusercontent.com/u/2019215?v=4)](https://github.com/Telshin "Telshin (2 commits)")[![xKairu](https://avatars.githubusercontent.com/u/169433509?v=4)](https://github.com/xKairu "xKairu (2 commits)")[![noahm](https://avatars.githubusercontent.com/u/319485?v=4)](https://github.com/noahm "noahm (1 commits)")

---

Tags

hi-rezphpsmiteteam-reflexapigamesmitehirezesports

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/team-reflex-smite-api/health.svg)

```
[![Health](https://phpackages.com/badges/team-reflex-smite-api/health.svg)](https://phpackages.com/packages/team-reflex-smite-api)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.7k371.6k6](/packages/theodo-group-llphant)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

563.5M11](/packages/checkout-checkout-sdk-php)[clicksend/clicksend-php

301.6M11](/packages/clicksend-clicksend-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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