PHPackages                             keltiecochrane/themosis-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. keltiecochrane/themosis-pagination

Abandoned → [djgadd/themosis-pagination](/?search=djgadd%2Fthemosis-pagination)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

keltiecochrane/themosis-pagination
==================================

Simple WordPress pagination service provider.

1.0.3(8y ago)113GPL-3.0-or-laterPHPPHP &gt;=7.0

Since Jul 31Pushed 8y ago1 watchersCompare

[ Source](https://github.com/keltiecochrane/themosis-pagination)[ Packagist](https://packagist.org/packages/keltiecochrane/themosis-pagination)[ RSS](/packages/keltiecochrane-themosis-pagination/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (6)Used By (0)

Themosis Pagination
===================

[](#themosis-pagination)

A package for the Themosis framework that implements some basic utilities for pagination to make it a little easier to work with (rather than being bound by WordPress' markup and classes.)

Install
-------

[](#install)

Install through composer: - `composer require keltiecochrane/themosis-pagination`

Copy the `config/pagination.config.php` to your `theme/resources/config` directory, and configure as appropriate.

Register the service provider in your `theme/resources/config/providers.php` file: - `KeltieCochrane\Pagination\PaginationServiceProvider::class,`

Use
---

[](#use)

Call the helper function `kc_pagination()`, which returns a KeltieCochrane\\Pagination\\Pagination object. The object contains the pagination navigation items in an Illuminate\\Support\\Collection object. You can call Collection methods on the Pagination object, they will be mapped to the underlying Collection. The Pagination class also implements Countable, ArrayAccess, and ArrayIterator, so you can interact with items more conveniently.

Each item is an array as follows: -

```
  [
    'url' => bool|string, // Either the items URL or false if it doesn't have one.
    'class' => string, // Classes to be applied to the item.
    'text' => string, // The text for the item.
  ]

```

Examples
--------

[](#examples)

```
  /**
   * Helper function that maps to app('pagination')->make($args, $query)
   *
   * @param  null|array $args        optional args, see codex paginate_links function reference
   * @param  null|\WP_Query $query   optional query, by default will use global $wp_query
   * @return \Illuminate\Support\Collection
   */
  kc_pagination($args, $query = null);

```

Support
-------

[](#support)

This package is provided as is, though we'll endeavour to help where we can.

Contributing
------------

[](#contributing)

Any contributions would be encouraged and much appreciated, you can contribute by: -

- Reporting bugs
- Suggesting features
- Sending pull requests

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community1

Small or concentrated contributor base

Maturity62

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 ~62 days

Total

4

Last Release

3022d ago

### Community

### Embed Badge

![Health badge](/badges/keltiecochrane-themosis-pagination/health.svg)

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

###  Alternatives

[guava/filament-icon-picker

A filament plugin that adds an icon picker field.

161531.9k25](/packages/guava-filament-icon-picker)[mdmsoft/yii2-gii

Yii2 custom generator for gii

1335.4k1](/packages/mdmsoft-yii2-gii)

PHPackages © 2026

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