Updated composer require

This commit is contained in:
Patrick Louys 2016-11-01 15:59:17 +01:00 committed by GitHub
parent 973631449f
commit 0430b7d94c

View file

@ -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):