https://github.com/8p/guzzle-wsse-middleware
WSSE Plugin for Guzzle
https://github.com/8p/guzzle-wsse-middleware
Last synced: about 1 year ago
JSON representation
WSSE Plugin for Guzzle
- Host: GitHub
- URL: https://github.com/8p/guzzle-wsse-middleware
- Owner: 8p
- License: mit
- Created: 2013-10-20T00:38:33.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2019-08-13T10:02:14.000Z (almost 7 years ago)
- Last Synced: 2025-04-08T15:49:36.512Z (over 1 year ago)
- Language: PHP
- Size: 15.6 KB
- Stars: 31
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Guzzle WSSE Middleware
[](https://packagist.org/packages/eightpoints/guzzle-wsse-middleware) [](https://packagist.org/packages/eightpoints/guzzle-wsse-middleware) [](https://packagist.org/packages/eightpoints/guzzle-wsse-middleware)
==================
This middleware integrates [WSSE][1] funtionality into Guzzle, a PHP framework for building RESTful web service clients.
Requirements
------------
- PHP 5.5 or above
- [Guzzle PHP Framework][2]
Installation
------------
Using [composer][3]:
``` json
{
"require": {
"eightpoints/guzzle-wsse-middleware": "^4.1.1"
}
}
```
Usage
-----
``` php
setCreatedAtTimeExpression('-10 seconds');
$stack = \GuzzleHttp\HandlerStack::create();
// Add the wsse middleware to the handler stack.
$stack->push($wsse->attach());
$client = new \GuzzleHttp\Client(['handler' => $stack]);
$response = $client->get('http://www.8points.de');
```
Authors
-------
- Florian Preusner ([Twitter][4])
See also the list of [contributors][5] who participated in this project.
License
-------
This middleware is licensed under the MIT License - see the LICENSE file for details
[1]: http://www.xml.com/pub/a/2003/12/17/dive.html
[2]: http://guzzlephp.org/
[3]: https://getcomposer.org/
[4]: http://twitter.com/floeH
[5]: https://github.com/8p/guzzle-wsse-middleware/contributors