Skip to content

Commit 82b1100

Browse files
committed
Merge branch 'release/1.0.6'
2 parents bf6b775 + 39ca066 commit 82b1100

File tree

6 files changed

+255
-237
lines changed

6 files changed

+255
-237
lines changed

Diff for: README.md

+12-4
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,27 @@ or
3131
```
3232

3333
## Installation
34-
`composer require codebot/laravel-response-builder:0.2.*`
34+
```
35+
composer require codebot/laravel-response-builder:^1
36+
```
3537

3638
**For Laravel 5.4 and versions below add `\Rb\Core\RbServiceProvider::class` to providers in config/app.php file.**
3739

38-
Next run `php artisan vendor:publish --tag=laravel-response-builder` command in your console.
40+
Next run the command below in your console:
41+
42+
```
43+
php artisan vendor:publish --tag=laravel-response-builder
44+
```
3945

4046
## Requests
4147

4248
Once you published vendor, you should see `App\Http\Requests\Rb\RbRequest class`. This will be base class for
4349
laravel-response-builder's requests.
44-
To generate a request that extends RbRequest, do:
50+
To generate a request that extends RbRequest, run:
4551

46-
`php artisan make:rbrequest YourNewRequest`
52+
```
53+
php artisan make:rbrequest YourNewRequest
54+
```
4755

4856
If you are using Laravel's Validator class, you can use `Rb\Core\RbValidator` to standardize the structure of failed response.
4957

Diff for: VERSIONLOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Versions
22

3+
## 1.0.6 2021-06-27
4+
* Added default error message for the `Rb\Facade\Response::error` method.
5+
6+
## 1.0.5 2021-01-25
7+
* Documentation updated.
8+
39
## 1.0.4 2021-01-25
410
* Updated the `RbServiceProvider` to publish `RbRequest` in same directory as specified in configs.
511

0 commit comments

Comments
 (0)