Laravel pagination for custom queries

arrow