PHPackages                             ianleckey/epics-php - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ianleckey/epics-php

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

ianleckey/epics-php
===================

PHP library for Epics.gg

121PHP

Since Mar 31Pushed 3y agoCompare

[ Source](https://github.com/ianleckey/epics-php)[ Packagist](https://packagist.org/packages/ianleckey/epics-php)[ RSS](/packages/ianleckey-epics-php/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (2)Used By (0)

[![PHP Composer](https://github.com/ianleckey/epics-php/workflows/PHP%20Composer/badge.svg)](https://github.com/ianleckey/epics-php/workflows/PHP%20Composer/badge.svg)

epics-php
=========

[](#epics-php)

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

[](#installation)

Currently pre-release so no git tags syncing with packagist. Specify `dev-dev` along with the composer require command:

`composer require ianleckey/epics-php dev-dev`

Authentication
--------------

[](#authentication)

```
$auth = new Epics\Auth('email', 'password');
```

Teams
-----

[](#teams)

Utilise the `Epics\Entity\TeamList` class for getting teams:

```
$teams = new TeamList(); /* will load all teams from cache or download fresh if expiry has not been hit */
$myTeams = $teams->filter('country', 'se')->order('id', 'desc'); /* returns a Epics\Entity\TeamList object */
$myTeams = $teams->result(); /* returns an array of Epics\Entity\Team objects */
```

Methods available for `Epics\Entity\TeamList` objects:

MethodDescriptionfilter($property, $valueAllows filtering of teams by property value. I.e. `filter('country', 'de')` will return teams whose country is Germany.order($property, $direction)Allows ordering of teams by property names, see below for a list of available properties. `asc` or `desc`count()Will return the number of teams found for your queryresult()Will return an array of `Epics\Entity\Team` objectsThe following properties are available in `Epics\Entity\Team` objects:

PropertyDescriptionid(int) Epics team IDcountry(string) ISO 3166-1 alpha-2 two character country code (lowercase)name(string) Team nameactive(boolean)images(array) team\_banner and team\_logo imagesshortName(string) Short team name, i.e. "NiP"manager(string) Team manager. Not incredibly useful yet as this seems to always be "N/A"dob(string) Date the team was founded. YYYY-MM-DD**Note:** `getAllTeams()` will return live, uncached data. Whereas (if caching is enabled), `new Epics\Entity\Team(1)` will return a team from the currently cached team data. Any time `getAllTeams()` is called however, the local cache will be updated.

To get an array of players for a team:

```
use Epics\Entity;
$team = new Team(1);
$players = $team->getPlayers();
```

This will return an array of `Epics\Entity\Player` objects.

Players
-------

[](#players)

The following properties are availabe in `Epics\Entity\Player` objects:

PropertyDescriptionid(int) Epics team IDcountry(string) ISO 3166-1 alpha-2 two character country code (lowercase)name(string) Player nameactive(boolean)images(array)dob(string) Player date of birth. YYYY-MM-DDagegameId(int)handle(string) Player handle/nicknameposition(string) Playing position of player, i.e. riflerframeTypelastDatevideos(array)playerFrames(array)Aside from running `getPlayers()` on an `Epics\Entity\Team` object, you can get individual players by passing a player ID into the Player constructor:

```
use Epics\Entity;
$player = new Player(665);
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 93.8% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0dbde0a2d577a43dc488745c2a85efb96181af2132e8173ad0acb1af52a0dd99?d=identicon)[ianleckey](/maintainers/ianleckey)

---

Top Contributors

[![ianleckey](https://avatars.githubusercontent.com/u/668964?v=4)](https://github.com/ianleckey "ianleckey (61 commits)")[![ianrun2](https://avatars.githubusercontent.com/u/39738193?v=4)](https://github.com/ianrun2 "ianrun2 (4 commits)")

### Embed Badge

![Health badge](/badges/ianleckey-epics-php/health.svg)

```
[![Health](https://phpackages.com/badges/ianleckey-epics-php/health.svg)](https://phpackages.com/packages/ianleckey-epics-php)
```

###  Alternatives

[openlss/lib-array2xml

Array2XML conversion library credit to lalit.org

31052.5M47](/packages/openlss-lib-array2xml)[makeusabrew/bootbox

Wrappers for JavaScript alert(), confirm() and other flexible dialogs using the Bootstrap framework

5.0k109.4k2](/packages/makeusabrew-bootbox)[jmikola/geojson

GeoJSON implementation for PHP

3109.0M77](/packages/jmikola-geojson)[apy/datagrid-bundle

Symfony Datagrid Bundle

502998.7k9](/packages/apy-datagrid-bundle)[gee-team/gt-php-sdk

GtWeb Php Demo

1165.1k4](/packages/gee-team-gt-php-sdk)[silvershop/silverstripe-listsorter

Easily provide front-end sorting controls for SilverStripe lists

1640.8k4](/packages/silvershop-silverstripe-listsorter)

PHPackages © 2026

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