PHPackages                             fendinger/kirby-pagestree-section - 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. [Admin Panels](/categories/admin)
4. /
5. fendinger/kirby-pagestree-section

ActiveKirby-plugin[Admin Panels](/categories/admin)

fendinger/kirby-pagestree-section
=================================

Kirby CMS Panel plugin that displays pages as a collapsible tree view

1.0.0(1mo ago)520[1 issues](https://github.com/fendinger/kirby-pagestree-section/issues)MITVue

Since Apr 15Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/fendinger/kirby-pagestree-section)[ Packagist](https://packagist.org/packages/fendinger/kirby-pagestree-section)[ Docs](https://github.com/fendinger/kirby-pagestree-section)[ RSS](/packages/fendinger-kirby-pagestree-section/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

[![Kirby Pagestree Section](https://private-user-images.githubusercontent.com/41189281/578816197-3fcad2c1-a7e9-420a-b795-c5585a95158d.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODA5NzQ3OTIsIm5iZiI6MTc4MDk3NDQ5MiwicGF0aCI6Ii80MTE4OTI4MS81Nzg4MTYxOTctM2ZjYWQyYzEtYTdlOS00MjBhLWI3OTUtYzU1ODVhOTUxNThkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjA5VDAzMDgxMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZiMTMxNzJlYTliYzk4NDhiZDRkZjM1OTFkYjA2YzgyMTAwNjNmZjM5NTQwZmQ4MDA0MDJhYjQ1ZjY3YjdiZjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.fYezGfCTDRBl3SMS-2lh8Xr0OYWDLY7n-KWq7vYHr4Y)](https://private-user-images.githubusercontent.com/41189281/578816197-3fcad2c1-a7e9-420a-b795-c5585a95158d.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODA5NzQ3OTIsIm5iZiI6MTc4MDk3NDQ5MiwicGF0aCI6Ii80MTE4OTI4MS81Nzg4MTYxOTctM2ZjYWQyYzEtYTdlOS00MjBhLWI3OTUtYzU1ODVhOTUxNThkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjA5VDAzMDgxMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZiMTMxNzJlYTliYzk4NDhiZDRkZjM1OTFkYjA2YzgyMTAwNjNmZjM5NTQwZmQ4MDA0MDJhYjQ1ZjY3YjdiZjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.fYezGfCTDRBl3SMS-2lh8Xr0OYWDLY7n-KWq7vYHr4Y)Kirby Pagestree Section
=======================

[](#kirby-pagestree-section)

A Kirby CMS Panel plugin that provides a `pagestree` section type. It displays pages as a collapsible tree view — similar to the native `pages` section, but with recursive rendering of all subpages as a nested, expandable tree.

Features
--------

[](#features)

- Collapsible tree view with toggle arrows
- Native Kirby look &amp; feel using `k-item` components
- Drag &amp; drop sorting for listed pages (sort handle at the left edge)
- Full context menu matching the native pages section (Open, Preview, Rename, Change URL, Change Status, Change Position, Change Template, Move, Duplicate, Delete)
- Status indicators with native Kirby themes (draft, unlisted, listed)
- Client-side search/filter across all tree levels (parents stay visible when children match)
- Pagination for root-level pages
- Multi-language support
- Open/closed state persisted in sessionStorage
- Supports all properties from the native [pages section](https://getkirby.com/docs/reference/panel/sections/pages)
- Automatic reload after panel actions (rename, delete, status change, etc.)

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

[](#installation)

### Composer

[](#composer)

```
composer require fendinger/kirby-pagestree-section

```

### Manual

[](#manual)

Download and copy this plugin to `/site/plugins/kirby-pagestree-section`.

Usage
-----

[](#usage)

Add the section to any blueprint:

```
sections:
  tree:
    type: pagestree
    label: Page Tree
```

### Full example

[](#full-example)

```
sections:
  tree:
    type: pagestree
    label: Site Tree
    parent: site
    maxDepth: 4
    status: all
    sortable: true
    search: true
    limit: 20
    templates:
      - default
      - blog-post
    create:
      - default
      - blog-post
    text: "{{ page.title }}"
    info: "{{ page.date.toDate('d.m.Y') }}"
    empty: No pages yet
    help: Drag listed pages to reorder them
```

Properties
----------

[](#properties)

All properties from the native [pages section](https://getkirby.com/docs/reference/panel/sections/pages) are supported, plus one additional property:

PropertyTypeDefaultDescription`maxDepth``int``null`Maximum nesting depth (`null` = unlimited)### Inherited from pages section

[](#inherited-from-pages-section)

PropertyTypeDefaultDescription`batch``bool``false`Enable batch delete`columns``array`–*Not applicable (tree layout)*`create``mixed``null`Templates allowed for new pages, or `false` to disable`empty``string`–Text for the empty state`flip``bool``false`Reverse sort order`headline``string`–Section headline`help``string`–Help text below the section`image``mixed``[]`Image/icon configuration`info``string`–Info text template`label``string`–Section label (alias for headline)`layout``string``list`*Not applicable (tree layout)*`limit``int``20`Number of root pages per page`max``int``null`Maximum number of pages`min``int``null`Minimum number of pages`parent``string`–Parent page query`query``string``null`Filter pages by query`search``bool``false`Enable client-side filter`size``string``auto`*Not applicable (tree layout)*`sortable``bool``true`Enable drag &amp; drop sorting`sortBy``string``null`Auto-sort field (disables manual sorting)`status``string``all`Filter by status: `draft`, `unlisted`, `listed`, `published`, `all``template``string``null`Filter by single template`templates``array``null`Filter by multiple templates`templatesIgnore``array``null`Exclude templates`text``string``{{ page.title }}`Display text templateSupport
-------

[](#support)

If you find this plugin useful, you can support the development:

[![Buy Me A Coffee](https://camo.githubusercontent.com/1dea0ad376c70a0cbfde2d09ed3621fa1aa91b4bba6e95ad2d3354f962155b9a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4275792532304d6525323041253230436f666665652d737570706f72742d79656c6c6f773f7374796c653d666c61742d737175617265266c6f676f3d6275792d6d652d612d636f66666565)](https://buymeacoffee.com/fendinger)

License
-------

[](#license)

MIT

Author
------

[](#author)

[fendinger.de](https://fendinger.de)

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance85

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

55d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/41189281?v=4)[fendinger](/maintainers/fendinger)[@fendinger](https://github.com/fendinger)

---

Top Contributors

[![fendinger](https://avatars.githubusercontent.com/u/41189281?v=4)](https://github.com/fendinger "fendinger (1 commits)")

---

Tags

treepagessectionkirbykirby-pluginpanel

### Embed Badge

![Health badge](/badges/fendinger-kirby-pagestree-section/health.svg)

```
[![Health](https://phpackages.com/badges/fendinger-kirby-pagestree-section/health.svg)](https://phpackages.com/packages/fendinger-kirby-pagestree-section)
```

###  Alternatives

[bnomei/kirby3-recently-modified

Kirby Section to display recently modified content pages

3210.2k](/packages/bnomei-kirby3-recently-modified)[bnomei/kirby3-janitor

Kirby Plugin for running commands like cleaning the cache from within the Panel, PHP code or a cronjob

9342.0k2](/packages/bnomei-kirby3-janitor)[belugadigital/kirby-navigation

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

8613.8k](/packages/belugadigital-kirby-navigation)[pechente/kirby-admin-bar

Kirby Admin Bar

532.7k](/packages/pechente-kirby-admin-bar)[medienbaecker/kirby-modules

Easily add modules to your pages

885.4k1](/packages/medienbaecker-kirby-modules)[bnomei/kirby-janitor

Kirby Plugin for running commands like cleaning the cache from within the Panel, PHP code or a cronjob

934.6k2](/packages/bnomei-kirby-janitor)

PHPackages © 2026

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