studio-variable / kirby-history
A Panel area listing every page by last edit: who edited it, when, its template and status, sortable and filterable
Package info
forge.studio-variable.com/studio-variable/kirby-history.git
Type:kirby-plugin
pkg:composer/studio-variable/kirby-history
Requires
- php: >=8.3
- getkirby/composer-installer: ^1.2
Requires (Dev)
- getkirby/cms: ^6.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
A Panel area that lists every page of the site, drafts included, from the most recently edited to the oldest: who edited it, when, its template and its status.
Requirements • Installation • Usage • Who edited what • Menu • Configuration • Translations • License
Requirements
- Kirby 6
- PHP 8.3+
Installation
Composer (recommended)
composer require studio-variable/kirby-history
Manual installation
Download the repository and copy it to site/plugins/history.
Usage
The plugin adds a History entry to the Panel menu. Its table lists, for each page:
- the page, with its image or icon, linking to the page in the Panel;
- its path;
- its template;
- the last person who edited it in the Panel;
- its status, with a button that opens Kirby's status dialog (the table reloads afterwards);
- the date and time of its last edit.
Click a column header to sort by it, click again to reverse the order. The table can be filtered by a search on the title and path (accents ignored), by template and by status. Status labels come from the page blueprints.
Who edited what
Kirby does not keep track of who edited a page. A page.*:after hook records, for every page edited in the Panel (except deletions and the system user), the user's name and the time, in content/_history/editors.json by default. Kirby ignores folders starting with _, so this file never shows up as content.
The date shown is the recorded one, or the modification date of the page's content file for pages not edited since the plugin was installed.
Menu
Without a panel.menu option, the entry appears with the other areas. With a custom menu, add 'history' where you want it. To show it at the bottom, right above Changes, put it alone in the last group:
'panel' => [
'menu' => [
'site',
// …
'-',
'history',
],
],
Configuration
| Key | Type | Default | Description |
|---|---|---|---|
studio-variable.history.icon | string | 'clock' | Icon of the menu entry |
studio-variable.history.limit | int | 50 | Pages per screen |
studio-variable.history.file | string\|null | null | Where editors are recorded; null is content/_history/editors.json |
Translations
English and French are included. Keys start with studio-variable.history.; see src/extensions/translations.php.
License
MIT License © 2026 Studio Variable