Custom Pagination Laravel 5
@if ($paginator->hasPages() )
<ul class="pagination">
<li class="prev {{ ($paginator->currentPage() == 1) ? ' disabled' : '' }}">
<a href="/{{ $paginator->url($paginator->currentPage()-1) }}"><i class="fa fa-step-backward"></i>
</a>
</li>
<li class="next {{ ($paginator->currentPage() == $paginator->lastItem()) ? ' disabled' : '' }}">
<a href="/{{ $paginator->url($paginator->currentPage()+1) }}" ><i class="fa fa-step-forward"></i>
</a>
</li>
</ul>
@endif