PHPackages                             naneynonn/discord-wrapper - 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. naneynonn/discord-wrapper

ActiveLibrary[API Development](/categories/api)

naneynonn/discord-wrapper
=========================

Wrapper for the Discord API

3.0.2(1mo ago)5189MITPHPPHP &gt;=8.5

Since May 7Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/Naneynonn/discord-wrapper)[ Packagist](https://packagist.org/packages/naneynonn/discord-wrapper)[ RSS](/packages/naneynonn-discord-wrapper/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (41)Used By (0)

discord-wrapper
===============

[](#discord-wrapper)

Example
-------

[](#example)

```
require 'vendor/autoload.php';

use Naneynonn\Api\Client as DiscordApiClient;
use Naneynonn\Enums\RequestTypes;

$config = [
  'bot' => [
    'token' => '',
  ]
];

$api = new DiscordApiClient($config);

$guild = $api->guild->getGuild(guild_id: '');
// or
$guild = $api->request(method: RequestTypes::GET, endpoint: '/guilds/{guild.id}', options: ['params' => ['guild.id' => '']], cache_ttl: 600);
```

All Resources (Wiki)
--------------------

[](#all-resources-wiki)

- [Application](https://github.com/Naneynonn/discord-wrapper/wiki/Application)
- [Audit Log](https://github.com/Naneynonn/discord-wrapper/wiki/Audit-Log)
- [Auto Moderation](https://github.com/Naneynonn/discord-wrapper/wiki/Auto-Moderation)
- [Channel](https://github.com/Naneynonn/discord-wrapper/wiki/Channel)
- [Emoji](https://github.com/Naneynonn/discord-wrapper/wiki/Emoji)
- [Guild](https://github.com/Naneynonn/discord-wrapper/wiki/Guild)
- [Invite](https://github.com/Naneynonn/discord-wrapper/wiki/Invite)
- [Poll](https://github.com/Naneynonn/discord-wrapper/wiki/Poll)
- [Stage Instance](https://github.com/Naneynonn/discord-wrapper/wiki/Stage-Instance)
- [Sticker](https://github.com/Naneynonn/discord-wrapper/wiki/Sticker)
- [User](https://github.com/Naneynonn/discord-wrapper/wiki/User)
- [Voice](https://github.com/Naneynonn/discord-wrapper/wiki/Voice)
- [Webhook](https://github.com/Naneynonn/discord-wrapper/wiki/Webhook)

Cache and others
----------------

[](#cache-and-others)

- [Wiki](https://github.com/Naneynonn/discord-wrapper/wiki)

###  Health Score

53

—

FairBetter than 96% of packages

Maintenance97

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity74

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 ~27 days

Recently: every ~3 days

Total

40

Last Release

45d ago

Major Versions

1.11.12 → 2.0.0-beta2024-02-07

2.3.3 → 3.0.02026-03-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/58cc597df2cfba94688fdbf4bc1b91eae2d63b232a43ddd1b29d4a1ba8c9fc10?d=identicon)[Naneynonn](/maintainers/Naneynonn)

---

Top Contributors

[![Naneynonn](https://avatars.githubusercontent.com/u/42908112?v=4)](https://github.com/Naneynonn "Naneynonn (96 commits)")

---

Tags

discorddiscord-apidiscord-api-wrapper

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/naneynonn-discord-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/naneynonn-discord-wrapper/health.svg)](https://phpackages.com/packages/naneynonn-discord-wrapper)
```

###  Alternatives

[googleads/googleads-php-lib

Google Ad Manager SOAP API Client Library for PHP

67410.3M25](/packages/googleads-googleads-php-lib)[wheelpros/fitment-platform-api

Magento 2 (Open Source)

12.1k1.2k](/packages/wheelpros-fitment-platform-api)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

553.3M7](/packages/checkout-checkout-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[concrete5/core

Concrete core subtree split

19159.3k48](/packages/concrete5-core)

PHPackages © 2026

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