PHPackages                             phputil/flags-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. [Framework](/categories/framework)
4. /
5. phputil/flags-webhooks

ActiveLibrary[Framework](/categories/framework)

phputil/flags-webhooks
======================

Webhooks for the phputil/flags framework

v0.1.2(1y ago)07MITPHPPHP ^7.4 || ^8.0

Since May 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/thiagodp/phputil-flags-webhooks)[ Packagist](https://packagist.org/packages/phputil/flags-webhooks)[ RSS](/packages/phputil-flags-webhooks/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (8)Versions (4)Used By (0)

phputil/flags-webhooks
======================

[](#phputilflags-webhooks)

[![Version](https://camo.githubusercontent.com/014f3ae98e37796482b70b4f4add7e86ba82c886f2bec78b697556405980bbcc/68747470733a2f2f706f7365722e707567782e6f72672f7068707574696c2f666c6167732d776562686f6f6b732f763f7374796c653d666c61742d737175617265)](https://packagist.org/packages/phputil/flags-webhooks)[![Build](https://github.com/thiagodp/phputil-flags-webhooks/actions/workflows/ci.yml/badge.svg?style=flat)](https://github.com/thiagodp/phputil-flags-webhooks/actions/workflows/ci.yml/badge.svg?style=flat)[![License](https://camo.githubusercontent.com/100d9cc93bcd1548f52be394b7ecb48c20d4af9d867a498e4e891b28cd4169e2/68747470733a2f2f706f7365722e707567782e6f72672f7068707574696c2f666c6167732d776562686f6f6b732f6c6963656e73653f7374796c653d666c61742d737175617265)](https://packagist.org/packages/phputil/flags-webhooks)[![PHP](https://camo.githubusercontent.com/bd3a316f69516b28f697b870a80d24817c399c65e4b811a82355faca9de90987/687474703a2f2f706f7365722e707567782e6f72672f7068707574696c2f666c6167732d776562686f6f6b732f726571756972652f706870)](https://packagist.org/packages/phputil/flags-webhooks)

> Web hooks for the [phputil/flags](https://github.com/thiagodp/phputil-flags) framework.

Installation
------------

[](#installation)

> PHP 7.4 or later. It uses [Guzzle](https://guzzlephp.org/) for making HTTP requests.

```
composer require phputil/flags-webhooks
```

Usage
-----

[](#usage)

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

use \phputil\flags\webhooks\WebhookListener;

$listener = new WebhookListener( 'https://example.com' );

// Now let's use it with the framework
$flags = new \phputil\flags\FlagManager();
$flags->getListeners()->add( $listener );

// Notifying
$flags->enable( 'foo' ); // POST request (creation)
$flags->disable( 'foo' ); // PUT request (update)
$flags->remove( 'foo' ); // DELETE request (removal)
```

Documentation
-------------

[](#documentation)

*Soon*

License
-------

[](#license)

[MIT](/LICENSE) © [Thiago Delgado Pinto](https://github.com/thiagodp)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

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

Total

3

Last Release

555d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/154324d722a6ee9c252a0338329781084a97af2d0ea9faaf39176df5a689a2ec?d=identicon)[thiagodp](/maintainers/thiagodp)

---

Top Contributors

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

---

Tags

phpframeworklibraryfeaturewebhookflagtoggle

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/phputil-flags-webhooks/health.svg)

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

###  Alternatives

[nutgram/nutgram

The Telegram bot library that doesn't drive you nuts

714214.9k8](/packages/nutgram-nutgram)[digitalstars/simplevk

Powerful PHP library/framework for VK API bots, supporting LongPoll &amp; Callback &amp; OAuth

883.9k3](/packages/digitalstars-simplevk)[marwanalsoltany/mighty

The last validation library you will ever need!

591.3k](/packages/marwanalsoltany-mighty)

PHPackages © 2026

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