This package is abandoned and no longer maintained. The author suggests using the eightpoints/guzzle-wsse-middleware package instead.

WSSE Middleware for Guzzle, a PHP HTTP client library and framework for building RESTful web service clients

Installs: 26 700

Dependents: 0

Suggesters: 0

Stars: 7

Watchers: 2

Forks: 1

Open Issues: 2

v4.2.0 2016-06-03 14:03 UTC


This middleware integrates WSSE funtionality into Guzzle, a PHP framework for building RESTful web service clients.



Using composer:

    "require": {
        "eightpoints/guzzle-wsse-middleware": "^4.1.1"



$wsse = new \EightPoints\Guzzle\WsseAuthMiddleware($username, $password);

# Optional: Set createdAt by a expression (if not, current time will be used automatically)
# http://php.net/manual/en/datetime.formats.relative.php
# Useful if there is a small difference of time between client and server
# DateTime object will be regenerated for every request
$wsse->setCreatedAtTimeExpression('-10 seconds');

$stack = \GuzzleHttp\HandlerStack::create();

// Add the wsse middleware to the handler stack.

$client   = new \GuzzleHttp\Client(['handler' => $stack]);
$response = $client->get('http://www.8points.de');


See also the list of contributors who participated in this project.


This middleware is licensed under the MIT License - see the LICENSE file for details