PHPackages                             guigzz/silex-wsse - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. guigzz/silex-wsse

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

guigzz/silex-wsse
=================

Full WSSE authentication for silex projects based on Symfony2 documentation

0.1.0(10y ago)2423MITPHPPHP &gt;=5.3.2

Since Mar 20Pushed 10y ago1 watchersCompare

[ Source](https://github.com/guigzz/silex-wsse)[ Packagist](https://packagist.org/packages/guigzz/silex-wsse)[ Docs](https://github.com/guigzz/silex-wsse)[ RSS](/packages/guigzz-silex-wsse/feed)WikiDiscussions master Synced 2mo ago

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

Silex WSSE authentication
=========================

[](#silex-wsse-authentication)

This library provides an implementation of WSSE authentication based on the [Symfony2 documentation](http://symfony.com/doc/current/cookbook/security/custom_authentication_provider.html).

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

[](#installation)

#### Composer

[](#composer)

```
"require": {
	"guigzz/silex-wsse": "~0.1.0"
}
```

Usage
-----

[](#usage)

- Register the Guigzz\\Wsse\\WsseAuthServiceProvider
- Pass you own User provider to the Wsse provider
- Use it in your security firewall config
- You are done!

A basic config example would look like this:

```
$app->register(new Guigzz\Wsse\WsseAuthServiceProvider(), array(
    'wsse.security_dir'         => __DIR__ . '/../cache/security',
    'wsse.valid_time_window'    => 300,
    'wsse.user'                 => $app->share(function ($app) { return $app['dao.user']; })
));
```

And use it in your security firewall like this:

```
$app['security.firewalls'] = array(
    'api'   => array(
        'pattern'   => '^/api/',
        'stateless' => true,
        'wsse'      => true,
    )
);
```

#### Configuration

[](#configuration)

- 'wsse.security\_dir' (optional): where to store auth cache infos (default to your-app-root-dir/cache/security)
- 'wsse.valid\_time\_window' (optional): time in seconds of a WSSE validation window (default to 300s). For more infos, please read the Symfony2 documentation about Wsse.
- 'wsse.user' (mandatory): your app's user provider, so as to authenticate incoming requests.

License
-------

[](#license)

This project is under the [MIT License](https://opensource.org/licenses/MIT).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

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

3704d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/23be2ce09a2728dde7cb0a786ffd53c05c6f4d55412a8814b1deb3773883d2f8?d=identicon)[guigzz](/maintainers/guigzz)

---

Top Contributors

[![guigzz](https://avatars.githubusercontent.com/u/4454890?v=4)](https://github.com/guigzz "guigzz (1 commits)")

---

Tags

apiauthAuthenticationsilexwebservicestatelesswsse

### Embed Badge

![Health badge](/badges/guigzz-silex-wsse/health.svg)

```
[![Health](https://phpackages.com/badges/guigzz-silex-wsse/health.svg)](https://phpackages.com/packages/guigzz-silex-wsse)
```

###  Alternatives

[league/oauth2-server

A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.

6.6k136.0M248](/packages/league-oauth2-server)[auth0/auth0-php

PHP SDK for Auth0 Authentication and Management APIs.

40820.2M68](/packages/auth0-auth0-php)[auth0/login

Auth0 Laravel SDK. Straight-forward and tested methods for implementing authentication, and accessing Auth0's Management API endpoints.

2745.0M3](/packages/auth0-login)[scheb/2fa

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

578630.7k1](/packages/scheb-2fa)[auth0/symfony

Symfony SDK for Auth0 Authentication and Management APIs.

128738.1k](/packages/auth0-symfony)

PHPackages © 2026

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