PHPackages                             ibrows/hmac-bundle - 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. ibrows/hmac-bundle

ActiveSymfony-bundle[Security](/categories/security)

ibrows/hmac-bundle
==================

Symfony HMAC Bundle adds a SecurityListenerFactor which provide a hmac authentication for configured firewall

1.0.0(10y ago)01.4kMITPHPCI failing

Since Aug 27Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ibrows/IbrowsHmacBundle)[ Packagist](https://packagist.org/packages/ibrows/hmac-bundle)[ Docs](http://www.ibrows.ch)[ RSS](/packages/ibrows-hmac-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (3)Used By (0)

IbrowsHmacBundle
================

[](#ibrowshmacbundle)

[![Build Status](https://camo.githubusercontent.com/8e8bcdf3c1cc1ec90dae6df02ab087b25de00d8509cd835de7d85bb72aec1618/68747470733a2f2f7472617669732d63692e6f72672f6962726f77732f4962726f7773486d616342756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ibrows/IbrowsHmacBundle)

Ibrows HMAC Bundle adds a SecurityListenerFactor which provide a hmac authentication for configured firewall This is a recommend way to sign and verify RESTful Web API requests

Install &amp; setup the bundle
------------------------------

[](#install--setup-the-bundle)

1. Add IbrowsHmacBundle in your composer.json:

    ```
    {
        "require": {
            "ibrows/hmac-bundle": "~1.0",
        }
    }
    ```
2. Now tell composer to download the bundle by running the command:

    ```
    $ php composer.phar update ibrows/hmac-bundle
    ```
3. Add the bundle to your `AppKernel` class

    ```
    // app/AppKernerl.php
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new \Ibrows\HmacBundle\IbrowsHmacBundle(),
            // ...
        );
        // ...
    }
    ```
4. Sample Configuration of your security.yml

    ```
    security:
        firewalls:
            api:
                pattern:  ^/api
                stateless: true
                anonymous: ~
                provider: api_provider
                ibrows_hmac:
                    authentication_provider_key: me
        access_control:
            - { path: ^/api/, roles: ROLE_API }
        encoders:
            Symfony\Component\Security\Core\User\User: plaintext
        providers:
            api_provider:
                memory:
                    users:
                        test:
                            password: test
                            roles:  ['ROLE_API']
    ```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

3917d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/31dcaa71007628affe5a759a757d17182e05ab88f2b018a46d74c62bc10d8249?d=identicon)[ibrows](/maintainers/ibrows)

---

Tags

securityhmacSecurityListenerFactorSymonfy2

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ibrows-hmac-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/ibrows-hmac-bundle/health.svg)](https://phpackages.com/packages/ibrows-hmac-bundle)
```

###  Alternatives

[nelmio/security-bundle

Extra security-related features for Symfony: signed/encrypted cookies, HTTPS/SSL/HSTS handling, cookie session storage, ...

68112.8M27](/packages/nelmio-security-bundle)[gregwar/captcha-bundle

Captcha bundle

3524.7M32](/packages/gregwar-captcha-bundle)[scheb/2fa

Two-factor authentication for Symfony applications (please use scheb/2fa-bundle to install)

578630.7k1](/packages/scheb-2fa)[nzo/url-encryptor-bundle

The NzoUrlEncryptorBundle is a Symfony Bundle used to Encrypt and Decrypt data and variables in the Web application or passed through URL

961.0M2](/packages/nzo-url-encryptor-bundle)[elnur/blowfish-password-encoder-bundle

Blowfish (bcrypt) based password encoder for Symfony2

61129.6k](/packages/elnur-blowfish-password-encoder-bundle)[maba/gentle-force-bundle

Symfony bundle that integrates gentle-force library for limiting both brute-force attempts and ordinary requests, using leaky/token bucket algorithm, based on Redis

53517.6k1](/packages/maba-gentle-force-bundle)

PHPackages © 2026

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