ondkal/paginator (packagist): A lightweight PHP paginator, for generating pagination controls in the style of Stack Overflow and Flickr. The 'first' and 'last' page links are shown inline as page numbers, and excess page numbers are replaced by ellipses. This is a fork of the original project by Jason Grimes that allows using item number (in addition to page number) as NUM_PLACEHOLDER for the target link in the URL.
Keywords: pager|paginator|pagination