JesseObrien/laravel-cheatsheet

Paginator

julianovmartins opened this issue · 2 comments

Paginator missing or this is to 4.1 only?

Paginator::make($items, $totalItems, $perPage);

Eloquent pagiantion should be added as well

<?php
$posts = Posts::all()->paginate(10);

echo $posts->links();

This was resolved in pull request => #104