PHPackages                             that-chris-r/runescape-highscores - 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. that-chris-r/runescape-highscores

ActiveLibrary[API Development](/categories/api)

that-chris-r/runescape-highscores
=================================

A set of classes to better manipulate the RuneScape lite highscores API

v2.3.1(2y ago)1170MITPHP

Since Jan 25Pushed 2y agoCompare

[ Source](https://github.com/chrisrolfe198/RunescapeHighscores)[ Packagist](https://packagist.org/packages/that-chris-r/runescape-highscores)[ RSS](/packages/that-chris-r-runescape-highscores/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (1)Versions (18)Used By (0)

RunescapeHighscores
===================

[](#runescapehighscores)

[![Latest Stable Version](https://camo.githubusercontent.com/d692978b67a08fc3aa73635d596dd7e3d0c701de7aacdca859b26e985eafc5eb/68747470733a2f2f706f7365722e707567782e6f72672f746861742d63687269732d722f72756e6573636170652d6869676873636f7265732f762f737461626c652e737667)](https://packagist.org/packages/that-chris-r/runescape-highscores) [![Total Downloads](https://camo.githubusercontent.com/622279f2f08d47ad3c963663185cdcea466061e28ffb0861ee86b7158dc059b2/68747470733a2f2f706f7365722e707567782e6f72672f746861742d63687269732d722f72756e6573636170652d6869676873636f7265732f646f776e6c6f6164732e737667)](https://packagist.org/packages/that-chris-r/runescape-highscores) [![Latest Unstable Version](https://camo.githubusercontent.com/c12941c7b62dfe4852d6c9687c98a5102b390244de65381534b211658ad05a2b/68747470733a2f2f706f7365722e707567782e6f72672f746861742d63687269732d722f72756e6573636170652d6869676873636f7265732f762f756e737461626c652e737667)](https://packagist.org/packages/that-chris-r/runescape-highscores) [![License](https://camo.githubusercontent.com/c67b4ae67bc967091c2474b637b679ea3bf40afd88d449bf6f072b1b640d2940/68747470733a2f2f706f7365722e707567782e6f72672f746861742d63687269732d722f72756e6573636170652d6869676873636f7265732f6c6963656e73652e737667)](https://packagist.org/packages/that-chris-r/runescape-highscores)

A PHP layer on top of the RuneScape Highscores.

Install
-------

[](#install)

### Installing via composer

[](#installing-via-composer)

If you run this command with composer it'll require it into your project

`composer require that-chris-r/runescape-highscores`

Or add this to your composer.json

```
{
	"require": {
		"that-chris-r/runescape-highscores": "2.*"
	}
}
```

### Installing via git

[](#installing-via-git)

Alternatively you can clone this repository and use the files in lib.

Retrieving a player
-------------------

[](#retrieving-a-player)

In order to access a player you need to create a new highscores object and use that to query the RuneScape API, `$client = new RunescapeHighscores();`.

Once you have a client you can retrieve a single player using the `get_player` method, `$player = $client->get_player('Das Wanderer');`.

You can also retrive multiple players at one time using the `get_players` method, `$players = $client->get_players(["Das Wanderer", "Bexs"]);`.

This will return an indexed array with the indexes being the RuneScape usernames, E.G. `$players["Das Wanderer"]` will give you access to a player object.

Using a player object
---------------------

[](#using-a-player-object)

### Properties

[](#properties)

Player objects use magic methods to access the properties for a player.

Each attribute holds its values in a `PlayerValue` class, when treated like a string it will return the level for skills and rank for anything else.

So to access a players attack level you do:

```
// Short syntax
echo $player->attack;
// Longer syntax
echo $player->attack->level;

```

Each `PlayerValue` object holds other values, for skills it holds

- Rank
- Xp
- Level

For minigames it holds:

- Rank
- Score

Minigames are access as they are named in the api documentation and spaces are replaced with underscores, so to access the information for a player on Dominion Tower you use `$player->dominion_tower->rank`.

### Combat levels

[](#combat-levels)

You can access both the standard combat level and the legacy combat level on a player object with the following methods, `get_legacy_combat_level` and `get_combat_level`.

### Converting to Array

[](#converting-to-array)

You can convert the player object to an array if you need to by calling the `to_array` method.

Issues
------

[](#issues)

If you have any issues please raise them via github

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~266 days

Recently: every ~562 days

Total

15

Last Release

762d ago

Major Versions

1.2.0 → v2.0.02014-09-18

### Community

Maintainers

![](https://www.gravatar.com/avatar/7494113255cc40e7b2e2f4d0868ce3e1aaa74f0b2d929681428f127c8f77e696?d=identicon)[christopherrolfe198](/maintainers/christopherrolfe198)

---

Top Contributors

[![chrisrolfe198](https://avatars.githubusercontent.com/u/2428612?v=4)](https://github.com/chrisrolfe198 "chrisrolfe198 (56 commits)")

---

Tags

apirunescapehighscores

### Embed Badge

![Health badge](/badges/that-chris-r-runescape-highscores/health.svg)

```
[![Health](https://phpackages.com/badges/that-chris-r-runescape-highscores/health.svg)](https://phpackages.com/packages/that-chris-r-runescape-highscores)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[mailchimp/transactional

458.9M16](/packages/mailchimp-transactional)[get-stream/stream-chat

A PHP client for Stream Chat (https://getstream.io/chat/)

301.8M2](/packages/get-stream-stream-chat)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)

PHPackages © 2026

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