A Responsive pagination library can generate pagination like many others. But the main goal is to provide responsive functionality for hiding and showing some link buttons according to breakpoints.
Responsivity is fully controlled only by your own CSS classes, so can be used with Bootstrap, any other framework or custom solution.
It also can be used with any CMS. There is an example with Wordpress.
Live usage is available also on my blog kutac.cz/blog (in Czech language).
composer require arxeiss/responsive-pagination
See arxeiss.github.io/responsive-pagination for more usage and code examples.
Or see unit tests if you want to dig deeper.
Every idea is welcome. Open an issue or pull request