PHPackages                             microman/kirby-inherit - 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. microman/kirby-inherit

ActiveKirby-plugin

microman/kirby-inherit
======================

Get field from parent page if empty

2.0.4(6mo ago)9472MITPHPCI passing

Since Feb 2Pushed 6mo ago2 watchersCompare

[ Source](https://github.com/plain-solutions-gmbh/kirby-inherit)[ Packagist](https://packagist.org/packages/microman/kirby-inherit)[ Docs](https://plain-solutions.net/811709)[ Fund](https://www.paypal.com/donate/?hosted_button_id=BHXBDRWYPUPCG)[ RSS](/packages/microman-kirby-inherit/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (1)Versions (8)Used By (0)

Kirby Inherit
=============

[](#kirby-inherit)

Get the field of the parent pages if it's empty or not exists. It goes all up till the site.

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

[](#installation)

**Manually**

[Download](https://github.com/youngcut/kirby-inherit) and copy the plugin into your plugin folder: `/site/plugins/`

**With Composer**

`composer require plain/kirby-inherit`

How to use
----------

[](#how-to-use)

Let's say you want to get a hero image. The editor can set it on each page. But he don't have an image for every page. Use this code to look if the parent page has a image set:

```
    $page->hero_image()->inherit()

```

It goes all way up. At the end it will take the imgae from the main site.

Inherit form another page
-------------------------

[](#inherit-form-another-page)

You can also use it for another page:

```
    $page->hero_image()->inherit( page('another_site') )

```

License
-------

[](#license)

This plugin is free to use and is published under the MIT license. If you use this plugin for commercial purposes or wish to show your appreciation, [support me with a donation](https://www.paypal.com/donate/?hosted_button_id=BHXBDRWYPUPCG).

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance66

Regular maintenance activity

Popularity16

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~166 days

Recently: every ~60 days

Total

7

Last Release

197d ago

Major Versions

1.0.1 → 2.0.02025-03-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/2ce34d22100c42ac040481da5ed0d1dc1a858e775500bb290bc8ec956c66bab0?d=identicon)[microman](/maintainers/microman)

---

Top Contributors

[![plain-solutions-gmbh](https://avatars.githubusercontent.com/u/4754476?v=4)](https://github.com/plain-solutions-gmbh "plain-solutions-gmbh (6 commits)")[![moritzebeling](https://avatars.githubusercontent.com/u/39742729?v=4)](https://github.com/moritzebeling "moritzebeling (1 commits)")[![morja](https://avatars.githubusercontent.com/u/29610198?v=4)](https://github.com/morja "morja (1 commits)")

---

Tags

kirby-cmskirby4kirby5

### Embed Badge

![Health badge](/badges/microman-kirby-inherit/health.svg)

```
[![Health](https://phpackages.com/badges/microman-kirby-inherit/health.svg)](https://phpackages.com/packages/microman-kirby-inherit)
```

###  Alternatives

[getkirby/cms

The Kirby core

1.5k535.5k352](/packages/getkirby-cms)[distantnative/retour-for-kirby

Manage redirects and track 404s right from the Kirby CMS Panel

14689.4k1](/packages/distantnative-retour-for-kirby)[arnoson/kirby-vite

Vite helper for Kirby CMS

9759.2k3](/packages/arnoson-kirby-vite)[getkirby/staticache

Static site performance on demand

9615.4k](/packages/getkirby-staticache)[fabianmichael/kirby-meta

Your all-in-one powerhouse for any SEO and metadata needs imaginable.

6910.7k1](/packages/fabianmichael-kirby-meta)[thathoff/kirby-oauth

Kirby OAuth 2 Plugin

3823.9k](/packages/thathoff-kirby-oauth)

PHPackages © 2026

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