php-paginator
php-paginator copied to clipboard
A lightweight PHP paginator, for generating pagination controls in the style of Stack Overflow and Flickr.
**Include ARIA controls in the paginator. Improve assistive technology interactions.** - Labeling the navigation links. - Indicate which element is currently active.
This pull request will allow `Paginator` to delegate URL generation. This can be useful when integrating with frameworks that have have a routing service such as Symfony. If a `UrlGeneratorInteface`...
Adding the `getOffset()` method so that it can be used in other contexts, for example, in an SQL query using `limit` and `offset` easily.
In the full width display, the current page button needs to have it's link suppressed. [/src/JasonGrimes/Paginator.php Line 289](https://github.com/jasongrimes/php-paginator/blob/master/src/JasonGrimes/Paginator.php#L289) needs to be changed from ```` $html .= '' . htmlspecialchars($page['num']) ....
I saw there's a pull request that failed, would like to revisit this. Basically just need a couple new classes. https://github.com/jasongrimes/php-paginator/pull/15 Thanks!
Hi Jason, love this library, exactly what I needed. I'm not using a CSS framework so I ended up figuring out some quick and dirty SCSS to style. I added...
Hello, I found your library very well. I propose a small modification : When the currentPage is at 6. The boxes are: > [1] [...] [3] [4] [5] [6] In...