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 today

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 60% 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

4136d 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.

59105.4k](/packages/log1x-pagi)[lampager/lampager-laravel

Rapid pagination for Laravel

7641.4k](/packages/lampager-lampager-laravel)[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.2k](/packages/singlequote-laravel-datatables)[michaloravec/laravel-paginateroute

Laravel outer extension to easily use laravel's paginator without the query string

1813.8k](/packages/michaloravec-laravel-paginateroute)[ctsoft/laravel-pretty-pagination

Pretty pagination URLs for Laravel.

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

Krait provides an easy way to create Ajax Datatables.

101.9k](/packages/mtrdesign-krait)

PHPackages © 2026

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