PHPackages                             gnugat/carew-next - 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. gnugat/carew-next

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

gnugat/carew-next
=================

Plugin for carew, add next\_document and previous\_document functions

v1.0.0(11y ago)121MITPHPPHP &gt;=5.3.3

Since Apr 9Pushed 11y ago1 watchersCompare

[ Source](https://github.com/gnugat/carew-next)[ Packagist](https://packagist.org/packages/gnugat/carew-next)[ RSS](/packages/gnugat-carew-next/feed)WikiDiscussions master Synced today

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

Carew - next
============

[](#carew---next)

This Carew plugin adds two new functions:

- `next_document()`
- `previous_document()`

With these, you'll be able to automatically have links pointing to the next and previous pages:

```
{% block content_main %}
    {{ carew.document.body|raw }}

        {% set next = next_document(carew.posts, carew.document) %}
        {% if next %}
        Next: {{ next.title }}
        {% endif %}

        {% set previous = previous_document(carew.posts, carew.document) %}
        {% if previous %}
        Previous: {{ previous.title }}
        {% endif %}

{% endblock %}

```

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

[](#installation)

Use [Composer](http://getcomposer.org/):

```
composer require "gnugat/carew-next:~1.0"

```

Then register the plugin:

```
engine:
    extensions:
        - Gnugat\CarewNext\NextExtension

```

Further documentation
---------------------

[](#further-documentation)

You can see the current and past versions using one of the following:

- the `git tag` command
- the [releases page on Github](https://github.com/gnugat/redaktilo/releases)
- the file listing the [changes between versions](CHANGELOG.md)

You can find more documentation at the following links:

- [copyright and MIT license](LICENSE)
- [versioning and branching models](VERSIONING.md)
- [contribution instructions](CONTRIBUTING.md)

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

4102d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/34578c5e0a3bc10fb9ef6e3a3a0b3356d6cde1133c8fa0e090d0a99298df1f76?d=identicon)[gnupat](/maintainers/gnupat)

---

Tags

carew

### Embed Badge

![Health badge](/badges/gnugat-carew-next/health.svg)

```
[![Health](https://phpackages.com/badges/gnugat-carew-next/health.svg)](https://phpackages.com/packages/gnugat-carew-next)
```

###  Alternatives

[secl-group/phpcs-secl-standard

A PHP\_CodeSniffer maintainability standard for Secl Group applications

149.7k](/packages/secl-group-phpcs-secl-standard)

PHPackages © 2026

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