PHPackages                             oval/laravel-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. oval/laravel-pagination

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

oval/laravel-pagination
=======================

Pagination helper library for Laravel

v1.4.5(11y ago)1746MITPHPPHP &gt;=5.3.0

Since Aug 27Pushed 11y ago2 watchersCompare

[ Source](https://github.com/OvalUK/PHP_Laravel_Pagination)[ Packagist](https://packagist.org/packages/oval/laravel-pagination)[ Docs](https://github.com/jamestrusleroval/PHP_Laravel_Pagination)[ RSS](/packages/oval-laravel-pagination/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (11)Used By (0)

PHP\_Laravel\_Pagination
========================

[](#php_laravel_pagination)

Include our library using the composer name: oval/laravel-pagination

**View:**

$Model-&gt;items was passed from our controller and contains the response from the database(see model)

```

```

**Controller:**

Here is an example of a controller method

```
public function Test()
{

    $paginationViewModel = new PaginationViewModel();
    $paginationModel = new PaginationModel();

    $paginationModel->amount = 50;
    $paginationModel->columns[ "projectTitle" ] = new PaginationColumn( "project_title", Input::get( "projectTitle" ), Input::get('projectTitleSort') );
    $paginationModel->columns[ "partners" ] = new PaginationColumn( "partners", Input::get( "partners" ), Input::get('partnersSort') );
    $paginationModel->page = isset( $_GET[ "page" ] ) ? $_GET[ "page" ] : 0;

    $paginationViewModel->paginationModel = $paginationModel;
    $paginationViewModel->items = $this->yourRepository->GetWithPagination( $paginationModel );

    return View::make('whatever/test', array( "Model" => $paginationViewModel ) );

}

```

**Model:**

This is the GetWithPagination method we set up in our "yourRepository"

```
public function GetWithPagination( PaginationModel $paginationModel )
{
    $query = DB::table('tablename');
    $whatevers = $query->paginate( PaginationHelper::PrepareForDb( $query, $paginationModel ) );
    return $whatevers;
}

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Every ~15 days

Total

10

Last Release

4189d ago

### Community

Maintainers

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

---

Tags

laravelpagination

### Embed Badge

![Health badge](/badges/oval-laravel-pagination/health.svg)

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

###  Alternatives

[log1x/pagi

A better WordPress pagination.

61115.8k](/packages/log1x-pagi)[singlequote/laravel-datatables

This repo contains a Datatable that can render a filterable and sortable table. It aims to be very lightweight and easy to use. It has support for retrieving data asynchronously, pagination and recursive searching in relations

1924.9k](/packages/singlequote-laravel-datatables)[ctsoft/laravel-pretty-pagination

Pretty pagination URLs for Laravel.

171.9k](/packages/ctsoft-laravel-pretty-pagination)[mtrdesign/krait

Krait provides an easy way to create Ajax Datatables.

101.9k](/packages/mtrdesign-krait)[vitorf7/lv-loadmorepagination

Load More Pagination for Laravel. Allows to load an initial number of items and subsequent pages can load a different number of items

111.2k](/packages/vitorf7-lv-loadmorepagination)

PHPackages © 2026

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