PHPackages                             valgorithms/discord-changelog - 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. valgorithms/discord-changelog

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

valgorithms/discord-changelog
=============================

GitHub commits -&gt; Discord webhook watcher

v1.1.0(1w ago)01↓100%MITPHPPHP &gt;=7.4

Since May 27Pushed 1w agoCompare

[ Source](https://github.com/Valgorithms/discord-changelog)[ Packagist](https://packagist.org/packages/valgorithms/discord-changelog)[ RSS](/packages/valgorithms-discord-changelog/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

Discord changelog webhook watcher

Small PSR-4 CLI that watches a GitHub repo's commits and posts new commits to a Discord webhook (skips commits that mention "Social SDK").

Quick start

- Install dependencies:

```
composer install
```

- Copy and edit environment variables:

```
cp .env.example .env
# Edit .env and set DISCORD_WEBHOOK and GITHUB_REPO_API
```

\-- Run the CLI (from the project root):

```
# Preferred: run the bootstrap which locates .env
php run.php
```

Bootstrap helper

- `run.php` is the project's bootstrap. It searches parent directories for a `.env` and ensures `last_commit.txt` exists; run it with `php run.php`.

Configuration

- Environment variables are defined in `.env` (see [.env.example](.env.example)).
    - `DISCORD_WEBHOOK` — your Discord webhook URL (don't leave as `CHANGEME`).
    - `GITHUB_REPO_API` — GitHub commits API URL.
    - `LAST_COMMIT_FILE` — file to store last seen commit SHA (defaults to `last_commit.txt`).

Composer scripts

- `composer unit` — run the test suite (`phpunit`).
- `composer cs` — run PHP CS Fixer.
- `composer phpacker` — build single-file binaries (non-interactive; platform baked into the script).

Testing

- Tests live under `tests/` and use PHPUnit. Run:

```
composer unit
```

Packaging notes

- The `phpacker` build bundles a bootstrap (`run.php`) and the packaged binary expects to find a `.env` when executed; `run.php` searches upward from the current working directory so packaged binaries can locate the project `.env`.

Logging

- The CLI uses Monolog and logs to `php://stdout` by default. To provide a custom logger, instantiate `Valgorithms\DiscordChangelog\GitHubCommitWatcher`directly and pass a PSR-3 `LoggerInterface` implementation.

Support

- If you hit issues packaging or running the exe, ensure the build output contains the `vendor/` folder or use `run.php` which is tolerant of layout.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance98

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity34

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.

###  Release Activity

Cadence

Every ~1 days

Total

2

Last Release

12d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7202504?v=4)[Valithor Obsidion](/maintainers/valzargaming)[@valzargaming](https://github.com/valzargaming)

---

Top Contributors

[![valzargaming](https://avatars.githubusercontent.com/u/7202504?v=4)](https://github.com/valzargaming "valzargaming (5 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/valgorithms-discord-changelog/health.svg)

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

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)

PHPackages © 2026

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