PHPackages                             bnomei/kirby-content-last-modified - 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. bnomei/kirby-content-last-modified

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

bnomei/kirby-content-last-modified
==================================

Kirby plugin to track the last timestamp when any content was modified at in the full content folder.

1.0.0(1y ago)42MITPHPPHP &gt;=8.2

Since Sep 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/bnomei/kirby-content-last-modified)[ Packagist](https://packagist.org/packages/bnomei/kirby-content-last-modified)[ Docs](https://github.com/bnomei/kirby-content-last-modified)[ RSS](/packages/bnomei-kirby-content-last-modified/feed)WikiDiscussions main Synced 1mo ago

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

Kirby Content Last Modified
===========================

[](#kirby-content-last-modified)

[![Release](https://camo.githubusercontent.com/c947f5a79e970fae27c50370e82b123f24bb6ca5bae1e01ec0a6b243ac7f5cda/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f762f626e6f6d65692f6b697262792d636f6e74656e742d6c6173742d6d6f6469666965643f636f6c6f723d616538316666)](https://camo.githubusercontent.com/c947f5a79e970fae27c50370e82b123f24bb6ca5bae1e01ec0a6b243ac7f5cda/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f762f626e6f6d65692f6b697262792d636f6e74656e742d6c6173742d6d6f6469666965643f636f6c6f723d616538316666)[![Downloads](https://camo.githubusercontent.com/87758bac975bf3adfedbef96e237b70ba5979421ea79ced3e6a37c73c2bb99dc/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f64742f626e6f6d65692f6b697262792d636f6e74656e742d6c6173742d6d6f6469666965643f636f6c6f723d323732383232)](https://camo.githubusercontent.com/87758bac975bf3adfedbef96e237b70ba5979421ea79ced3e6a37c73c2bb99dc/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f64742f626e6f6d65692f6b697262792d636f6e74656e742d6c6173742d6d6f6469666965643f636f6c6f723d323732383232)[![Maintainability](https://camo.githubusercontent.com/e5dda2b3ba89cd5f3fbf4dad7065ffd001fd7bfbdcc78ec2d3d95b455a462297/68747470733a2f2f666c61742e62616467656e2e6e65742f636f6465636c696d6174652f6d61696e7461696e6162696c6974792f626e6f6d65692f6b697262792d636f6e74656e742d6c6173742d6d6f646966696564)](https://codeclimate.com/github/bnomei/kirby-content-last-modified)[![Discord](https://camo.githubusercontent.com/4503835119c55948cd6c7a7b20c971b6358167cd2c3cadb8776761c3f8b1219f/68747470733a2f2f666c61742e62616467656e2e6e65742f62616467652f646973636f72642f626e6f6d65693f636f6c6f723d373238396461)](https://discordapp.com/users/bnomei)

Kirby plugin to track the last timestamp when any content was modified at in the full content folder.

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

[](#installation)

- unzip [master.zip](https://github.com/bnomei/kirby-content-last-modified/archive/master.zip) as folder `site/plugins/kirby-content-last-modified` or
- `git submodule add https://github.com/bnomei/kirby-content-last-modified.git site/plugins/kirby-content-last-modified` or
- `composer require bnomei/kirby-content-last-modified`

Usage
-----

[](#usage)

When you install this plugin it will create a file in the `content` folder of your Kirby installation. If any content (site, pages, files) in the `content` folder changes, this file will store the timestamp when the modification occurred. This might be useful to invalidate caches or trigger other actions.

### Output the last modified timestamp

[](#output-the-last-modified-timestamp)

```
