PHPackages                             top-gg/php-sdk - 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. top-gg/php-sdk

ActiveLibrary[API Development](/categories/api)

top-gg/php-sdk
==============

The official Top.gg PHP API wrapper.

5112[1 PRs](https://github.com/top-gg/php-sdk/pulls)PHP

Since Jun 27Pushed 3y ago1 watchersCompare

[ Source](https://github.com/top-gg/php-sdk)[ Packagist](https://packagist.org/packages/top-gg/php-sdk)[ RSS](/packages/top-gg-php-sdk/feed)WikiDiscussions main Synced today

READMEChangelog (2)DependenciesVersions (1)Used By (0)

TopPHP
======

[](#topphp)

A Top.gg API wrapper written in PHP 8.

Documentation
-------------

[](#documentation)

See [here](https://docs.top.gg/libraries/php/) for the official information.

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

[](#installation)

TopPHP uses composer to download. In order to install the library, use the following line:

`composer require top-gg/php-sdk`

Features
--------

[](#features)

- Working GET and POST requests.
- Enumerable constants for HTTP search lookups.
- Flexible namespaces and interfaces for easily editing.
- Up-to-standard package following the latest PSR.
- Automatic bot statistics POST requests. (Shards, guilds)

Coming Soon
-----------

[](#coming-soon)

- Webhooks
- Forced library global rate-limiting.

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/71882?v=4)[Martin Iwanowski](/maintainers/fl0w)[@fl0w](https://github.com/fl0w)

![](https://avatars.githubusercontent.com/u/24978328?v=4)[xetera](/maintainers/xetera)[@Xetera](https://github.com/Xetera)

---

Top Contributors

[![i0bs](https://avatars.githubusercontent.com/u/41456914?v=4)](https://github.com/i0bs "i0bs (36 commits)")

### Embed Badge

![Health badge](/badges/top-gg-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/top-gg-php-sdk/health.svg)](https://phpackages.com/packages/top-gg-php-sdk)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k13](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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