PHPackages                             lefuturiste/discord-webhooks - 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. lefuturiste/discord-webhooks

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

lefuturiste/discord-webhooks
============================

A simple Discord webhook client library.

0.2.3(8y ago)017MITPHPPHP &gt;=5.4

Since Jan 11Pushed 8y agoCompare

[ Source](https://github.com/lefuturiste/discord-webhooks)[ Packagist](https://packagist.org/packages/lefuturiste/discord-webhooks)[ RSS](/packages/lefuturiste-discord-webhooks/feed)WikiDiscussions master Synced today

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

discord-webhooks
================

[](#discord-webhooks)

Discord webhooks is a simple client for Discord's webhook API.

### Motivation

[](#motivation)

While this is probably "yet another" library for Discord's webhook system, I wanted to make my own. Discord doesn't support BitBucket's webhook system and the Slack compatible endpoint doesn't send a message.

Getting Started
---------------

[](#getting-started)

You can either copy the PHP file directly into your project or *preferable* just use composer.

#### Composer require command

[](#composer-require-command)

`composer require nopjmp/discord-webhooks`

Usage
-----

[](#usage)

It is fairly easy to use. I'll throw in an example.

```
use \DiscordWebhooks\Client;
use \DiscordWebhooks\Embed;

$webhook = new Client('DISCORD_WEBHOOK_URL');
$embed = new Embed();

$embed->description('This is an embed');

$webhook->username('Bot')->message('Hello, Human!')->embed($embed)->send();
```

License
-------

[](#license)

The project is MIT licensed. To read the full license, open [LICENSE.md](LICENSE.md).

Contributing
------------

[](#contributing)

Pull requests and issues are open!

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 78.6% 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 ~95 days

Total

4

Last Release

3121d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/237a43763134833e785eaee2c646dc218b63a87a8b0943b585a7c9ce436fd306?d=identicon)[lefuturiste](/maintainers/lefuturiste)

---

Top Contributors

[![nopjmp](https://avatars.githubusercontent.com/u/5185561?v=4)](https://github.com/nopjmp "nopjmp (11 commits)")[![bennetgallein](https://avatars.githubusercontent.com/u/15325891?v=4)](https://github.com/bennetgallein "bennetgallein (1 commits)")[![lefuturiste](https://avatars.githubusercontent.com/u/20988163?v=4)](https://github.com/lefuturiste "lefuturiste (1 commits)")[![richard4339](https://avatars.githubusercontent.com/u/100804?v=4)](https://github.com/richard4339 "richard4339 (1 commits)")

### Embed Badge

![Health badge](/badges/lefuturiste-discord-webhooks/health.svg)

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

PHPackages © 2026

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