Refactor for Laravel 5 Length Aware Paginator