Skip to content

Instantly share code, notes, and snippets.

View Sharondio's full-sized avatar
🏃‍♀️
Out-running deadlines

Sharon DiOrio Sharondio

🏃‍♀️
Out-running deadlines
View GitHub Profile
/**
* Paginator
*
* The paginator can be used within any controller to easily set up
* some pagination options, including number of pages, page navigation
* and more. It is built to work with Laravel's own pagination library,
* which returns data in a particular format.
*
* Usage:
* Before you can use paginator, make sure you specify the URLs to your pagination