d

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore.

15 St Margarets, NY 10033
(+381) 11 123 4567
ouroffice@aware.com

 

KMF

Fast Paginate for Laravel | Laravel News

Laravel Fast Paginate is a fast implementation of offset/limit pagination for Laravel by Aaron Francis:

Using Fast Paginate, you can use the same pagination API available in Laravel via the fastPaginate() method:

1// Traditional built-in pagination

2Model::query()->paginate()

3 

4// Fast paginate has the same method signature

5Model::query()->fastPaginate()

6 

7// Relationships are supported

8User::first()->posts()->fastPaginate();

If you’d like to learn more about the techniques used in this package, check out Efficient Pagination Using Deferred Joins by Aaron Francis.

You can learn more about this package, get full installation instructions, and view the source code on GitHub.


Credit: Source link

Previous Next
Close
Test Caption
Test Description goes like this