Updated composer require
This commit is contained in:
parent
973631449f
commit
0430b7d94c
1 changed files with 5 additions and 5 deletions
10
04-http.md
10
04-http.md
|
@ -15,11 +15,11 @@ In this tutorial I will use my own HTTP component, but of course you can use any
|
||||||
Again, edit the `composer.json` to add the new component and then run `composer update`:
|
Again, edit the `composer.json` to add the new component and then run `composer update`:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.5.0",
|
"php": ">=7.0.0",
|
||||||
"filp/whoops": ">=1.1.2",
|
"filp/whoops": "~2.1",
|
||||||
"patricklouys/http": ">=1.1.0"
|
"patricklouys/http": "~1.4"
|
||||||
},
|
},
|
||||||
```
|
```
|
||||||
|
|
||||||
Now you can add the following below your error handler code in your `Bootstrap.php` (and don't forget to remove the exception):
|
Now you can add the following below your error handler code in your `Bootstrap.php` (and don't forget to remove the exception):
|
||||||
|
|
Loading…
Reference in a new issue