1 year ago

Pagination json structure

Posted 1 year ago by tiagomatosweb

Hi all, I'm confusing about how should be the real pagination json structure. In the docs, it shows in two different ways. Please have a look on https://laravel.com/docs/5.6/pagination#converting-results-to-json and https://laravel.com/docs/5.6/eloquent-resources#pagination.

Is it a mistake or is there a way to set pagination with links and meta keys?


Please sign in or create an account to participate in this conversation.