PHPackages                             gplcart/webhook - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. gplcart/webhook

ActiveGplcart-module[HTTP &amp; Networking](/categories/http)

gplcart/webhook
===============

Allows to inform external resources about various system events by sending HTTP POST payloads

11PHP

Since Mar 10Pushed 8y agoCompare

[ Source](https://github.com/gplcart/webhook)[ Packagist](https://packagist.org/packages/gplcart/webhook)[ RSS](/packages/gplcart-webhook/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Build Status](https://camo.githubusercontent.com/5fe02515f88fef59318b30d54dd4449a7182589bcfd6618a10fcb2faf83e93d7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f67706c636172742f776562686f6f6b2f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/gplcart/webhook/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/7c61d1b0a9e713d5fccac30034a2b17614d4fe066b8f80fa88ce2540f86d0f90/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f67706c636172742f776562686f6f6b2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/gplcart/webhook/?branch=master)

Web Hook is a [GPL Cart](https://github.com/gplcart/gplcart) module that allows to inform external resources about various system events by sending HTTP POST payloads

Features:

- Configurable triggering hooks
- Configurable payload URL
- Data encryption

Requirements:

- CURL

**Installation**

1. Download and extract to `system/modules` manually or using composer `composer require gplcart/webhook`. IMPORTANT: If you downloaded the module manually, be sure that the name of extracted module folder doesn't contain a branch/version suffix, e.g `-master`. Rename if needed.
2. Go to `admin/module/list` end enable the module
3. Go to `admin/module/settings/webhook` and adjust settings

**Receiving payloads**

Example settings:

- Url:
- Sender: My cool site
- Key: My secret key
- Salt: My salt

In `webhook.php` paste the following code

```
if(isset($_POST['sender']) && $_POST['sender'] === 'My cool site'){

	$json = $_POST['data'];

	if($_POST['encrypted']){
		$secret = hash("sha256", 'My secret key');
		$hash = substr(hash("sha256", 'My salt'), 0, 16);
		$json = openssl_decrypt($json, "AES-256-CBC", $secret, 0, $hash);
	}

	$payload = json_decode($json, true);
	print_r($payload);
}

```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ad45895ef2d2867dc5294b7581948c79eef568001241d98eaf631bfe9fadeb63?d=identicon)[gplcart](/maintainers/gplcart)

---

Top Contributors

[![gplcart](https://avatars.githubusercontent.com/u/16158956?v=4)](https://github.com/gplcart "gplcart (25 commits)")

---

Tags

ecommercegplcartgplcart-apigplcart-moduleshopping-cart

### Embed Badge

![Health badge](/badges/gplcart-webhook/health.svg)

```
[![Health](https://phpackages.com/badges/gplcart-webhook/health.svg)](https://phpackages.com/packages/gplcart-webhook)
```

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M315](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M290](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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