PHPackages                             tearoom1/kirby-block-reference - 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. tearoom1/kirby-block-reference

ActiveKirby-plugin[Utility &amp; Helpers](/categories/utility)

tearoom1/kirby-block-reference
==============================

Kirby plugin to reference blocks in other pages

1.0.9(3w ago)991MITPHPCI passing

Since Jan 21Pushed 3w ago1 watchersCompare

[ Source](https://github.com/tearoom1/kirby-block-reference)[ Packagist](https://packagist.org/packages/tearoom1/kirby-block-reference)[ Fund](https://www.buymeacoffee.com/tearoom1)[ GitHub Sponsors](https://github.com/tearoom1)[ RSS](/packages/tearoom1-kirby-block-reference/feed)WikiDiscussions main Synced today

READMEChangelog (9)Dependencies (2)Versions (11)Used By (0)

Reference Block Plugin for Kirby
================================

[](#reference-block-plugin-for-kirby)

This plugin allows you to reference other blocks. Thus, you can easily repeat a block in multiple places on your page while being able to update it in one central place.

Getting started
---------------

[](#getting-started)

Use one of the following methods to install &amp; use `tearoom1/kirby-block-reference`:

### Git submodule

[](#git-submodule)

If you know your way around Git, you can download this plugin as a [submodule](https://github.com/blog/2104-working-with-submodules):

```
git submodule add https://github.com/tearoom1/kirby-block-reference.git site/plugins/kirby-block-reference

```

### Composer

[](#composer)

```
composer require tearoom1/kirby-block-reference

```

### Clone or download

[](#clone-or-download)

1. Clone or download this repository from github:
2. Unzip / Move the folder to `site/plugins`.

Usage
-----

[](#usage)

Use the block by adding it to you blueprints fieldsets if they are defined:

```
fieldsets:
  - reference
```

Access Control
--------------

[](#access-control)

The plugin exposes two API routes that the panel block UI uses to look up reference targets: `getAllPages` (list page IDs) and `blocks` (return the blocks of a given page, including drafts). Both routes require a logged-in panel user; they return `401 Unauthorized` for anonymous callers.

By default, only admins can use the reference picker. Non-admin roles can be allowed explicitly:

```
// site/config/config.php
'tearoom1.kirby-block-reference.allowedRoles' => [
    'editor',
],
```

The page picker and API routes also check Kirby's page `read` permission for every target page. Users only see pages they are allowed to read.

License
-------

[](#license)

This plugin is licensed under the [MIT License](LICENSE)

Credits
-------

[](#credits)

- Developed by Mathis Koblin

[!["Buy Me A Coffee"](https://camo.githubusercontent.com/9f44ce2dc3b3eecdd02598900866ffc518801df1932849703dae1e5ce5031070/68747470733a2f2f7777772e6275796d6561636f666665652e636f6d2f6173736574732f696d672f637573746f6d5f696d616765732f6f72616e67655f696d672e706e67)](https://coff.ee/tearoom1)

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance76

Regular maintenance activity

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Recently: every ~78 days

Total

10

Last Release

23d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/188788687?v=4)[Tearoom One](/maintainers/tearoom1)[@tearoom1](https://github.com/tearoom1)

---

Top Contributors

[![morja](https://avatars.githubusercontent.com/u/29610198?v=4)](https://github.com/morja "morja (32 commits)")

---

Tags

kirbykirby-cmskirby-pluginkirby4kirby5blockkirby

### Embed Badge

![Health badge](/badges/tearoom1-kirby-block-reference/health.svg)

```
[![Health](https://phpackages.com/badges/tearoom1-kirby-block-reference/health.svg)](https://phpackages.com/packages/tearoom1-kirby-block-reference)
```

###  Alternatives

[getkirby/cms

The Kirby core

1.5k584.8k472](/packages/getkirby-cms)[medienbaecker/kirby-modules

Easily add modules to your pages

895.5k1](/packages/medienbaecker-kirby-modules)[belugadigital/kirby-navigation

Kirby 5 field for hierarchical menus with drag &amp; drop level indentation.

8614.7k](/packages/belugadigital-kirby-navigation)[bnomei/kirby3-dotenv

Kirby Plugin for environment variables from .env

4149.6k2](/packages/bnomei-kirby3-dotenv)[beebmx/kirby-env

Enable env variables to Kirby

2140.5k3](/packages/beebmx-kirby-env)[bnomei/kirby3-recently-modified

Kirby Section to display recently modified content pages

3210.6k](/packages/bnomei-kirby3-recently-modified)

PHPackages © 2026

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