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 1mo ago

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 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity29

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://www.gravatar.com/avatar/3ff922d6f0945b0537b33a8b9cb3c2709a4d0ec5cb0bbe5064a3693a7c58a283?d=identicon)[fl0w](/maintainers/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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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