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

AbandonedArchivedLibrary

djgadd/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/djgadd/themosis-pagination)[ Packagist](https://packagist.org/packages/djgadd/themosis-pagination)[ RSS](/packages/djgadd-themosis-pagination/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (3)Versions (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

Community4

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

3023d ago

### Community

Maintainers

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

---

Tags

wordpressthemosis

### Embed Badge

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

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

###  Alternatives

[themosis/framework

The Themosis framework.

676307.9k18](/packages/themosis-framework)[roots/wp-stage-switcher

WordPress plugin that allows you to switch between different environments from the admin bar

382435.0k3](/packages/roots-wp-stage-switcher)[themosis/themosis

Themosis, a WordPress framework.

1.3k26.9k](/packages/themosis-themosis)[vinkla/wordplate

The WordPlate boilerplate

2.2k5.1k](/packages/vinkla-wordplate)[themosis/theme

The Themosis framework boilerplate theme.

10449.0k3](/packages/themosis-theme)[pods-framework/pods

Pods is a development framework for creating, extending, managing, and deploying customized content types in WordPress.

1.1k1.7k](/packages/pods-framework-pods)

PHPackages © 2026

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