• Reading time ~ 1 min
  • 10.09.2022

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:

// Traditional built-in pagination
Model::query()->paginate()
 
// Fast paginate has the same method signature
Model::query()->fastPaginate()
 
// Relationships are supported
User::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.

Comments

No comments yet
Yurij Finiv

Yurij Finiv

Full stack

ABOUT

Professional Fullstack Developer with extensive experience in website and desktop application development. Proficient in a wide range of tools and technologies, including Bootstrap, Tailwind, HTML5, CSS3, PUG, JavaScript, Alpine.js, jQuery, PHP, MODX, and Node.js. Skilled in website development using Symfony, MODX, and Laravel. Experience: Contributed to the development and translation of MODX3 i...

About author CrazyBoy49z
WORK EXPERIENCE
Contact
Ukraine, Lutsk
+380979856297