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

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

virgiliopontes/discord-webhooks
===============================

A simple Discord webhook client library.

1.0.0(5y ago)03MITPHPPHP &gt;=7.0

Since Jan 11Pushed 5y agoCompare

[ Source](https://github.com/virgiliopontes/discord-webhooks)[ Packagist](https://packagist.org/packages/virgiliopontes/discord-webhooks)[ RSS](/packages/virgiliopontes-discord-webhooks/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)DependenciesVersions (7)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 virgiliopontes/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

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 72.2% 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 ~265 days

Recently: every ~332 days

Total

6

Last Release

2079d ago

Major Versions

0.3.1 → 1.0.02020-09-02

PHP version history (2 changes)0.2PHP &gt;=5.4

1.0.0PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/16602add936a2a35b03f4a2e640f7e8abf18ad767d4d35fce94e09a60b16baf0?d=identicon)[virgiliopontes](/maintainers/virgiliopontes)

---

Top Contributors

[![nopjmp](https://avatars.githubusercontent.com/u/5185561?v=4)](https://github.com/nopjmp "nopjmp (13 commits)")[![tfevens](https://avatars.githubusercontent.com/u/701763?v=4)](https://github.com/tfevens "tfevens (2 commits)")[![bennetgallein](https://avatars.githubusercontent.com/u/15325891?v=4)](https://github.com/bennetgallein "bennetgallein (1 commits)")[![richard4339](https://avatars.githubusercontent.com/u/100804?v=4)](https://github.com/richard4339 "richard4339 (1 commits)")[![virgiliopontes](https://avatars.githubusercontent.com/u/16328403?v=4)](https://github.com/virgiliopontes "virgiliopontes (1 commits)")

---

Tags

clientwebhookbotdiscord

### Embed Badge

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

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

###  Alternatives

[botman/botman

Create messaging bots in PHP with ease.

6.2k1.5M97](/packages/botman-botman)[artisaninweb/laravel-soap

A SoapClient wrapper integration for Laravel

6314.5M12](/packages/artisaninweb-laravel-soap)[jaybizzle/laravel-crawler-detect

A Laravel package to detect web crawlers via the user agent

3232.6M17](/packages/jaybizzle-laravel-crawler-detect)[php-mqtt/laravel-client

A wrapper for the php-mqtt/client library for Laravel.

228539.3k1](/packages/php-mqtt-laravel-client)[formapro/telegram-bot

PHP Telegram Bot

2532.5k](/packages/formapro-telegram-bot)[botman/driver-web

Web driver for BotMan

86658.7k7](/packages/botman-driver-web)

PHPackages © 2026

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