Skip to content

Commit 99a749b

Browse files
committed
A few README updates
1 parent d0c6688 commit 99a749b

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[![Total Downloads][ico-downloads]][link-downloads]
99

1010
This is a simple component for CakePHP 3 which injects pagination information
11-
from CakePHP's Paginator, into Json and Xml View responses.
11+
from CakePHP's Paginator into serialized JsonView and XmlView responses.
1212

1313
## Install
1414

@@ -18,7 +18,7 @@ Via Composer
1818
$ composer require bcrowe/cakephp-api-pagination
1919
```
2020

21-
Then make sure to load the plugin in your application's `bootstrap.php` file:
21+
Load the plugin in your application's `bootstrap.php` file:
2222

2323
``` php
2424
Plugin::load('BryanCrowe/ApiPagination');
@@ -28,7 +28,6 @@ Plugin::load('BryanCrowe/ApiPagination');
2828

2929
Load the component in a controller's `initialize()` method:
3030

31-
3231
``` php
3332
public function initialize()
3433
{
@@ -37,8 +36,8 @@ public function initialize()
3736
}
3837
```
3938

40-
Your responses will now contain the pagination information, and will look
41-
something like:
39+
Your JsonView and XmlView responses will now contain the pagination information,
40+
and will look something like this:
4241

4342
``` json
4443
{
@@ -106,8 +105,8 @@ This configuration would yield:
106105
}
107106
```
108107

109-
**Note:** Whenever setting key visibily, use the aliased name if you've given it
110-
one.
108+
**Note:** Whenever setting keys' visbility, use the aliased name if you've given
109+
it one.
111110

112111
## Change log
113112

0 commit comments

Comments
 (0)