PHPackages                             plain/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. plain/kirby-inherit

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

plain/kirby-inherit
===================

Get field from parent page if empty

2.0.5(3d ago)942MITPHPCI passing

Since Feb 2Pushed 8mo ago2 watchersCompare

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

READMEChangelog (5)Dependencies (2)Versions (9)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

40

↑

FairBetter than 86% of packages

Maintenance78

Regular maintenance activity

Popularity12

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity51

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

Recently: every ~117 days

Total

8

Last Release

3d ago

Major Versions

1.0.1 → 2.0.02025-03-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/9ee23a9e53bb84a67791e7aac6438d6a059db672c330ab09a61a2eadac37e255?d=identicon)[getplain](/maintainers/getplain)

---

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/plain-kirby-inherit/health.svg)

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

###  Alternatives

[getkirby/cms

The Kirby core

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

Easily add modules to your pages

895.5k1](/packages/medienbaecker-kirby-modules)[distantnative/retour-for-kirby

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

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

Vite helper for Kirby CMS

9765.1k3](/packages/arnoson-kirby-vite)[bnomei/kirby3-dotenv

Kirby Plugin for environment variables from .env

4149.6k2](/packages/bnomei-kirby3-dotenv)[medienbaecker/kirby-alter

242.1k](/packages/medienbaecker-kirby-alter)

PHPackages © 2026

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