From 9f54e1dd6bbf02b5be33bc501acb416f6d83727e Mon Sep 17 00:00:00 2001 From: Gijs Jorissen Date: Mon, 22 Jan 2018 15:59:49 +0100 Subject: [PATCH] Update README.md --- README.md | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 05c9577..23c6f1b 100644 --- a/README.md +++ b/README.md @@ -15,20 +15,6 @@ You can install the package via composer: composer require appstract/laravel-response-macros ``` -### Provider - -Then add the ServiceProvider to your `config/app.php` file: - -``` -'providers' => [ - ... - - Appstract\ResponseMacros\ResponseMacrosServiceProvider::class, - - ... -] -``` - ## Usage ### Message @@ -43,7 +29,7 @@ Result "message": "hello world!" } ``` -With the Http `Status Code:200` +With the Http `Status Code: 200` ### Error ``` php @@ -57,7 +43,7 @@ Result "message": "Something went wrong" } ``` -With the Http `Status Code:400` +With the Http `Status Code: 400` ### Success ``` php @@ -71,7 +57,7 @@ Result "data": {"some": "data"} } ``` -With the Http `Status Code:200` +With the Http `Status Code: 200` ### PDF