Laravel 5 Pagination Returns an Array Tip

Use this code to display the pages for pagination in laravel.

returns an array NOT a pagination object

Further Tips
You can use this shorthand

You need to include the paginator class at the top.

Try this also…

OR with path.


Sam Deering

Sam Deering is a web developer from England (currently living in Australia). In his spare time he enjoys coding, playing chess, reading and investing.

Leave a Reply

Your email address will not be published. Required fields are marked *