PHPackages                             saleschamp/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. [Security](/categories/security)
4. /
5. saleschamp/webhooks

ActiveLibrary[Security](/categories/security)

saleschamp/webhooks
===================

Provides utilities required for signing and authenticating calls to public URLs.

v3.1.0(9y ago)014.2k[1 PRs](https://github.com/SalesChamp/webhooks/pulls)PHPPHP &gt;= 5.4.0

Since Apr 28Pushed 8y ago10 watchersCompare

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

READMEChangelogDependencies (2)Versions (10)Used By (0)

[![Codeship Status](https://camo.githubusercontent.com/c4ad352a46e30bb1ca5fc15cff2157e68e2ffabd727448cc10fe6fef8eaf08f1/68747470733a2f2f7777772e636f6465736869702e636f6d2f70726f6a656374732f64353761663239302d636666392d303133322d366166622d3736333762633431663563642f737461747573)](https://www.codeship.com/projects/76883)

[![Build Status](https://camo.githubusercontent.com/71155061ce372c537dc2cf39fd6681ec452702c314d476d3c269633c940954e4/68747470733a2f2f7472617669732d63692e6f72672f53616c65734368616d702f776562686f6f6b732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/SalesChamp/webhooks)

Introduction
============

[](#introduction)

This package provides utilities required for signing and authenticating calls to public URLs.

Usage
-----

[](#usage)

### Verifying and signing requests

[](#verifying-and-signing-requests)

`SalesChamp\Webhooks\Authenticator::sign` expects raw HTTP request body as argument in order to provide a signature used for authentication, `SalesChamp\Webhooks\Authenticator::verify` expects signature received in `X-SalesChamp-Signature` HTTP header and raw HTTP request body in order to verify the request.

### Data manipulation

[](#data-manipulation)

`SalesChamp\Webhooks\Data` represents a crate with documentation describing data attached to webhook requests. This class should not be created manually, but rather generated by factories. Example of such implementation can be found in `SalesChamp\Webhooks\NetteBridge\DataFactory` made specifically for [Nette Framework](https://doc.nette.org/en/2.4/http-request-response).

Tests
-----

[](#tests)

Can be run via `./runTests.sh`.

Versioning
----------

[](#versioning)

Library follows [semantic versioning](http://semver.org/). Make sure to update to tag commits accordingly.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 91.7% 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 ~68 days

Recently: every ~87 days

Total

8

Last Release

3559d ago

Major Versions

v1.2.0 → v2.0.02015-09-04

v2.1.1 → v3.0.02016-07-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/2073f73433f11e1c701741eddcf338cc18efb7cb2667a167071450f3a0bff73c?d=identicon)[martinkacmar](/maintainers/martinkacmar)

---

Top Contributors

[![mkacmar](https://avatars.githubusercontent.com/u/647191?v=4)](https://github.com/mkacmar "mkacmar (22 commits)")[![mochja](https://avatars.githubusercontent.com/u/1218946?v=4)](https://github.com/mochja "mochja (2 commits)")

### Embed Badge

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

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

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41478.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

87117.5M63](/packages/bjeavons-zxcvbn-php)[illuminate/encryption

The Illuminate Encryption package.

9229.7M280](/packages/illuminate-encryption)[paragonie/hidden-string

Encapsulate strings in an object to hide them from stack traces

7410.6M39](/packages/paragonie-hidden-string)

PHPackages © 2026

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