dingo/api — pull request #291 by overtrue (2014-12-11 03:06:07+00:00)
Title: [Proposal] Pagination processing is not perfect

Custom Paginator object, not necessarily all elements of an object;

```php
$items = array(.....);
$paginator = Paginator::make($items, $totalItems, $perPage);
```

![image](https://cloud.githubusercontent.com/assets/1472352/5388423/66d8309a-8125-11e4-8266-e6b118c61ffa.png)