Skip to content

Commit 326fba5

Browse files
authored
Merge pull request #2 from gregurco/remove-token
prepare v1 release
2 parents 5256d50 + 78a8d47 commit 326fba5

File tree

3 files changed

+22
-17
lines changed

3 files changed

+22
-17
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ cache:
1616

1717
before_install:
1818
- composer self-update
19-
- composer config --global github-oauth.github.com ${GITHUB_TOKEN}
2019

2120
install:
2221
- composer install

README.md

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
Guzzle Bundle WSSE Plugin
2-
==================
1+
# Guzzle Bundle WSSE Plugin
32

4-
[![Build Status](https://travis-ci.org/gregurco/GuzzleBundleWssePlugin.svg?branch=master)](https://travis-ci.org/gregurco/GuzzleBundleWssePlugin) [![Coverage Status](https://coveralls.io/repos/gregurco/GuzzleBundleWssePlugin/badge.svg?branch=master)](https://coveralls.io/r/gregurco/GuzzleBundleWssePlugin)
3+
[![Build Status](https://travis-ci.org/gregurco/GuzzleBundleWssePlugin.svg?branch=master)](https://travis-ci.org/gregurco/GuzzleBundleWssePlugin)
4+
[![Coverage Status](https://coveralls.io/repos/gregurco/GuzzleBundleWssePlugin/badge.svg?branch=master)](https://coveralls.io/r/gregurco/GuzzleBundleWssePlugin)
5+
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/537660c3-913a-4ce2-876a-4abb73f642f2/mini.png)](https://insight.sensiolabs.com/projects/537660c3-913a-4ce2-876a-4abb73f642f2)
56

67
This plugin integrates [WSSE][1] functionality into Guzzle Bundle, a bundle for building RESTful web service clients.
78

89

9-
Requirements
10-
------------
10+
## Requirements
1111
- PHP 7.0 or above
1212
- [Guzzle Bundle][2]
1313

1414

15-
Installation
16-
------------
15+
### Installation
1716
Using [composer][3]:
1817

18+
##### composer.json
1919
``` json
2020
{
2121
"require": {
@@ -24,18 +24,25 @@ Using [composer][3]:
2424
}
2525
```
2626

27+
##### command line
28+
``` bash
29+
$ composer require gregurco/guzzle-bundle-wsse-plugin
30+
```
2731

28-
Usage
29-
-----
30-
Load plugin in AppKernel.php:
32+
## Usage
33+
### Enable bundle
3134
``` php
35+
# app/AppKernel.php
36+
3237
new EightPoints\Bundle\GuzzleBundle\EightPointsGuzzleBundle([
3338
new Gregurco\Bundle\GuzzleBundleWssePlugin\GuzzleBundleWssePlugin(),
3439
])
3540
```
3641

37-
Configuration in config.yml:
42+
### Basic configuration
3843
``` yaml
44+
# app/config/config.yml
45+
3946
eight_points_guzzle:
4047
clients:
4148
api_payment:
@@ -51,7 +58,7 @@ eight_points_guzzle:
5158
created_at: "-10 seconds" # optional
5259
```
5360
54-
Or use with guzzle directly:
61+
## Usage with guzzle
5562
``` php
5663
<?php
5764
# Optional: Set third parameter by a expression (if not, current time will be used automatically)
@@ -69,10 +76,9 @@ $client = new \GuzzleHttp\Client(['handler' => $stack]);
6976
$response = $client->get('http://www.8points.de');
7077
```
7178

72-
License
73-
-------
79+
## License
7480
This middleware is licensed under the MIT License - see the LICENSE file for details
7581

7682
[1]: http://www.xml.com/pub/a/2003/12/17/dive.html
77-
[2]: https://github.com/8p/GuzzleBundle
83+
[2]: https://github.com/8p/EightPointsGuzzleBundle
7884
[3]: https://getcomposer.org/

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"require": {
2222
"php": "^7.0",
2323
"guzzlehttp/guzzle": "^6.0",
24-
"eightpoints/guzzle-bundle": "dev-master",
24+
"eightpoints/guzzle-bundle": "~7.0",
2525
"symfony/http-kernel": "~2.3|~3.0",
2626
"symfony/config": "~2.3|~3.0",
2727
"symfony/dependency-injection": "~2.3|~3.0",

0 commit comments

Comments
 (0)