PHPackages                             smashed-egg/laravel-look-ahead-pagination - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. smashed-egg/laravel-look-ahead-pagination

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

smashed-egg/laravel-look-ahead-pagination
=========================================

Adds support for look-ahead pagination for Laravel projects.

0.1.0(3mo ago)00MITPHPPHP ^8.0.2CI passing

Since Feb 3Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/smashed-egg/laravel-look-ahead-pagination)[ Packagist](https://packagist.org/packages/smashed-egg/laravel-look-ahead-pagination)[ RSS](/packages/smashed-egg-laravel-look-ahead-pagination/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (7)Versions (2)Used By (0)

 [![](https://raw.githubusercontent.com/smashed-egg/.github/05d922c99f1a3bddea88339064534566b941eca9/profile/main.jpg)](https://raw.githubusercontent.com/smashed-egg/.github/05d922c99f1a3bddea88339064534566b941eca9/profile/main.jpg)

Laravel Look-ahead Pagination
=============================

[](#laravel-look-ahead-pagination)

[![Latest Stable Version](https://camo.githubusercontent.com/44ae03bd2e2b3d0cfd87336f82713453b41b3801faaff434740ed81ba7c56c9a/68747470733a2f2f706f7365722e707567782e6f72672f736d61736865642d6567672f6c61726176656c2d6c6f6f6b2d61686561642d706167696e6174696f6e2f762f737461626c65)](https://github.com/smashed-egg/laravel-look-ahead-pagination/releases)[![Downloads this Month](https://camo.githubusercontent.com/b28bf403aaa23a39cff025e57e4ac1f73be1a7be8a4277c7c4fc4f0116edea0f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f736d61736865642d6567672f6c61726176656c2d6c6f6f6b2d61686561642d706167696e6174696f6e2e737667)](https://packagist.org/packages/smashed-egg/laravel-look-ahead-pagination)

This package allows you to use Look-ahead pagination in your application.

What is Look-ahead Pagination
-----------------------------

[](#what-is-look-ahead-pagination)

Look-ahead Pagination is more lightweight than Laravel's standard pagination.

It looks similar to the simple and cursor pagination, so the pages aren't shown in the pagination links, but the queries under the hood are a lot faster, particularly when the table you are paginating is large.

Requirements
------------

[](#requirements)

- PHP 8.0.2+
- Laravel 9.0+

Installation
------------

[](#installation)

To install this package please run:

```
composer require smashed-egg/laravel-look-ahead-pagination

```

[Support Me](https://github.com/sponsors/tomgrohl)
--------------------------------------------------

[](#support-me)

Do you like this package? Does it improve you're development. Consider sponsoring to help with future development.

[Buy me a coffee!](https://github.com/sponsors/tomgrohl)

Thank you!

Usage
-----

[](#usage)

TBD

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance84

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

98d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d8a5cdb8c917b207f5018caffe60905dd158d0ff21ce4f9f713ca63b53b8038d?d=identicon)[tomgrohl](/maintainers/tomgrohl)

---

Top Contributors

[![tomgrohl](https://avatars.githubusercontent.com/u/418838?v=4)](https://github.com/tomgrohl "tomgrohl (5 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/smashed-egg-laravel-look-ahead-pagination/health.svg)

```
[![Health](https://phpackages.com/badges/smashed-egg-laravel-look-ahead-pagination/health.svg)](https://phpackages.com/packages/smashed-egg-laravel-look-ahead-pagination)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[spatie/laravel-enum

Laravel Enum support

3655.4M31](/packages/spatie-laravel-enum)[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M213](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[laragear/preload

Effortlessly make a Preload script for your Laravel application.

119363.5k](/packages/laragear-preload)[napp/xray-laravel

AWS X-Ray for Laravel applications.

61407.3k](/packages/napp-xray-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
