PHPackages                             arthens/request-signer - 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. arthens/request-signer

ActiveLibrary

arthens/request-signer
======================

PHP library to sign and verify requests

0.1(12y ago)143.1k[1 issues](https://github.com/arthens/request-signer/issues)PHPPHP &gt;=5.3.2

Since Mar 24Pushed 12y ago1 watchersCompare

[ Source](https://github.com/arthens/request-signer)[ Packagist](https://packagist.org/packages/arthens/request-signer)[ RSS](/packages/arthens-request-signer/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

PHP Request Signer
==================

[](#php-request-signer)

`arthens/request-signer` is a PHP library to sign and validate requests.

The implementation is inspired by the [AWS Rest Authentication tutorial](http://s3.amazonaws.com/doc/s3-developer-guide/RESTAuthentication.html).

[![Build Status](https://camo.githubusercontent.com/08d330021c30d6a96e3cbc62aeef5bdd9d3b158c58726486070a608101391a67/68747470733a2f2f7472617669732d63692e6f72672f61727468656e732f726571756573742d7369676e65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/arthens/request-signer)

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

[](#installation)

Add `arthens/request-signer` to your `composer.json`.

You can also download `request-signer` directly, as it doesn't have any dependency.

Usage
-----

[](#usage)

```
// Use composer or import the class manually
require 'vendor/autoload.php';

// Create a new Signer
$signer = new \Arthens\RequestSigner\Signer('here-your-secret-key');

// Generate a new url-friendly signature
$signature = $signer->sign('GET', '/news');

// Verify a signature
if (!$signer->verify('here-the-signature-from-request', 'GET', '/news')) {
    throw new \Exception('Invalid signature');
}
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4429d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d43d23630fc281c26ff5872d03d054e1508b5676eeefee1424464ab5c0f00e4?d=identicon)[arthens](/maintainers/arthens)

---

Top Contributors

[![arthens](https://avatars.githubusercontent.com/u/1178572?v=4)](https://github.com/arthens "arthens (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/arthens-request-signer/health.svg)

```
[![Health](https://phpackages.com/badges/arthens-request-signer/health.svg)](https://phpackages.com/packages/arthens-request-signer)
```

PHPackages © 2026

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