Skip to content
This repository was archived by the owner on Sep 15, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@
"doctrine/data-fixtures": "~1.0",
"behat/mink-extension": "~2.0",
"fzaninotto/faker": "~1.4",
"nelmio/alice": "~2.0",
"guzzle/guzzle": "~3.7"
"nelmio/alice": "~2.0"
},
"require-dev": {
"phpspec/phpspec": "~2.4|~3.0",
"doctrine/orm": "~2.5",
"knplabs/phpspec-welldone-extension": "dev-master"
"knplabs/phpspec-welldone-extension": "dev-master",
"guzzle/guzzle": "~3.7"
},
"suggest": {
"guzzle/guzzle": "To use the Api Context (needs guzzle 3)"
},
"license": "MIT",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion doc/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Installation
Execute

```
composer require knplabs/friendly-contexts dev-master
composer require knplabs/friendly-contexts
```

Edit behat.yml
Expand Down
10 changes: 9 additions & 1 deletion doc/context-api.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
Api Context
===========

This context allow you to handle web Api features for your applications. It needs some configuration:
This context allow you to handle web Api features for your applications.

It has a dependency on `guzzle 3`. You can add it to your project using the following command:

```
composer require 'guzzle/guzzle' '~3.7'
```

Then the context needs some configuration:

```yaml
default:
Expand Down