Skip to content

Commit 9f54e1d

Browse files
authored
Update README.md
1 parent d685b24 commit 9f54e1d

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

README.md

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,6 @@ You can install the package via composer:
1515
composer require appstract/laravel-response-macros
1616
```
1717

18-
### Provider
19-
20-
Then add the ServiceProvider to your `config/app.php` file:
21-
22-
```
23-
'providers' => [
24-
...
25-
26-
Appstract\ResponseMacros\ResponseMacrosServiceProvider::class,
27-
28-
...
29-
]
30-
```
31-
3218
## Usage
3319

3420
### Message
@@ -43,7 +29,7 @@ Result
4329
"message": "hello world!"
4430
}
4531
```
46-
With the Http `Status Code:200`
32+
With the Http `Status Code: 200`
4733

4834
### Error
4935
``` php
@@ -57,7 +43,7 @@ Result
5743
"message": "Something went wrong"
5844
}
5945
```
60-
With the Http `Status Code:400`
46+
With the Http `Status Code: 400`
6147

6248
### Success
6349
``` php
@@ -71,7 +57,7 @@ Result
7157
"data": {"some": "data"}
7258
}
7359
```
74-
With the Http `Status Code:200`
60+
With the Http `Status Code: 200`
7561

7662
### PDF
7763

0 commit comments

Comments
 (0)