3.2.0
Improvements
Added RedirectOutOfBoundsTrait
for controller pagination to auto-fix 404s for humans.
Simply add the trait and enjoy the magic:
use Shim\Controller\Controller;
use Shim\Controller\RedirectOutOfBoundsTrait;
class AppController extends Controller {
use RedirectOutOfBoundsTrait;
Instead of showing a not user-friendly 404 page, the pagination will redirect right away to the last page available.