PHPackages                             craftyhedge/craft-bump - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. craftyhedge/craft-bump

ActiveCraft-plugin[Logging &amp; Monitoring](/categories/logging)

craftyhedge/craft-bump
======================

Writes a timestamp to a file when Craft CMS events fire.

v1.0.0(4mo ago)00MITPHPPHP ^8.0.2

Since Feb 8Pushed 4mo agoCompare

[ Source](https://github.com/craftyhedge/craft-bump)[ Packagist](https://packagist.org/packages/craftyhedge/craft-bump)[ RSS](/packages/craftyhedge-craft-bump/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (2)Used By (0)

Bump
====

[](#bump)

**Supports Craft 4.4+ and Craft 5.x**

What does it do?
----------------

[](#what-does-it-do)

It writes a timestamp to a file when your chosen events fire.

What is it useful for?
----------------------

[](#what-is-it-useful-for)

Good question!

### Original Use Case: Vite Browser Reloading

[](#original-use-case-vite-browser-reloading)

If you are a Vite user, you can use [vite-plugin-restart](https://github.com/antfu/vite-plugin-restart) and configure it to watch the bump file.

Set the Entry Saved event to trigger a bump, and add the bump file to your Vite config:

```
ViteRestart({
    reload: [
        // your other watched files...
        // path to bump file
        'storage/runtime/bump.txt',
    ],
}),

```

Now when you save an entry in Craft, your Vite dev server will trigger a hot reload!

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

[](#installation)

### From the Plugin Store

[](#from-the-plugin-store)

Go to the **Plugin Store** in your Craft control panel, search for **Bump**, and click **Install**.

### With Composer

[](#with-composer)

```
composer require craftyhedge/craft-bump
php craft plugin/install bump
```

Configuration
-------------

[](#configuration)

Go to **Settings → Plugins → Bump** in the Craft control panel.

### File Path

[](#file-path)

Path where the timestamp file will be written. Supports Craft aliases:

- `@storage/runtime/bump.txt` (default) — within the runtime directory
- `@storage/bump.txt` — within the storage directory
- `@root/bump.txt` — project root

### Allowed Environments

[](#allowed-environments)

Comma-separated list of environment names where bumping is active. Use `*` to allow all environments.

Examples:

- `dev` (only local development)
- `dev,staging` (only these environments)
- `*` (all environments)

### Timestamp Format

[](#timestamp-format)

Choose a PHP [`date()`](https://www.php.net/manual/en/function.date.php) format from the available options:

- `U` (default) — Unix epoch (e.g., `1770422400`)
- `c` — ISO 8601 (e.g., `2026-02-07T12:30:00+00:00`)
- `Y-m-d H:i:s` — Datetime (e.g., `2026-02-07 12:30:00`)
- `Y-m-d` — Date only (e.g., `2026-02-07`)
- `Ymd.His` — Compact (e.g., `20260207.123000`)

### Events

[](#events)

Toggle which CMS events trigger a file update:

EventDescriptionEntry SavedAny entry is created or updatedEntry DeletedAny entry is deletedAsset SavedAny asset is uploaded or updatedAsset DeletedAny asset is deletedCategory SavedAny category is created or updatedCategory DeletedAny category is deletedGlobal Set SavedAny global set is updatedUser SavedAny user is created or updatedUser DeletedAny user is deletedLicense
-------

[](#license)

MIT — see [LICENSE.md](LICENSE.md).

###  Health Score

32

—

LowBetter than 70% of packages

Maintenance77

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

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

123d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f19c0ee773f5be119993f6e002e329db3bee3d847ea2d3dc7067f1019c8c8651?d=identicon)[craftyhedge](/maintainers/craftyhedge)

---

Top Contributors

[![craftyhedge](https://avatars.githubusercontent.com/u/229282336?v=4)](https://github.com/craftyhedge "craftyhedge (11 commits)")

---

Tags

Craftcraftcmstimestampbumpcache-bust

### Embed Badge

![Health badge](/badges/craftyhedge-craft-bump/health.svg)

```
[![Health](https://phpackages.com/badges/craftyhedge-craft-bump/health.svg)](https://phpackages.com/packages/craftyhedge-craft-bump)
```

###  Alternatives

[craftcms/feed-me

Import content from XML, RSS, CSV or JSON feeds into entries, categories, Craft Commerce products, and more.

293943.4k27](/packages/craftcms-feed-me)[verbb/formie

The most user-friendly forms plugin for Craft.

100387.6k57](/packages/verbb-formie)[putyourlightson/craft-log-to-file

Logs messages to a specific log file for Craft CMS.

29368.5k5](/packages/putyourlightson-craft-log-to-file)[verbb/vizy

A flexible visual editor field for Craft.

4249.7k](/packages/verbb-vizy)[verbb/hyper

A user-friendly links field for Craft.

24142.6k12](/packages/verbb-hyper)[verbb/icon-picker

A slick field to pick icons from. Supports SVGs, Sprites, Webfonts, Font Awesome and more.

16168.8k6](/packages/verbb-icon-picker)

PHPackages © 2026

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