PHPackages                             nst/craft-publisher - 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. [Caching](/categories/caching)
4. /
5. nst/craft-publisher

ActiveCraft-plugin[Caching](/categories/caching)

nst/craft-publisher
===================

Publisher X enables you to publish saved Drafts on a future date without the need to handle the cache expiration logic. The cronjob handles the publication and the cache invalidation.

5.0.3(5mo ago)1702[1 issues](https://github.com/neustadt-swiss/craft-publisher/issues)MITPHP

Since Nov 22Pushed 5mo ago3 watchersCompare

[ Source](https://github.com/neustadt-swiss/craft-publisher)[ Packagist](https://packagist.org/packages/nst/craft-publisher)[ RSS](/packages/nst-craft-publisher/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)Dependencies (1)Versions (9)Used By (0)

Publisher X
===========

[](#publisher-x)

Publisher X enables you to publish saved Drafts on a future date. The cronjob handles the publication, and cache invalidation is managed through Craft CMS's native element save events.

It also handles entries which are to expire or published in the future correctly and will trigger cache invalidation through Craft's standard element lifecycle events.

[![Screenshot](resources/img/example1.png)](resources/img/example1.png)

Permissions
-----------

[](#permissions)

To publish a draft, the user needs the "Save entries" permission on the section of the entry.

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

[](#installation)

Install using `composer require nst/craft-publisher` and install in Craft.

Setup
-----

[](#setup)

Setup a Cron Job which runs *every minute*.

Call it via CLI or web:

Web:

```
* * * * * /usr/bin/curl --silent --compressed {siteUrl}/actions/publisher-x/api/publish
```

CLI:

```
* * * * * [PATH_TO_CRAFT_INSTALLATION]/craft publisher-x/publish
```

### Usage with cache plugins

[](#usage-with-cache-plugins)

If you have a fullpage cache plugin like blitz installed, which refreshes it's cache over the queue, make sure you also set up cronjobs which run the queue and refresh the expired caches.

```
* * * * * [PATH_TO_CRAFT_INSTALLATION]/craft blitz/cache/refresh-expired
* * * * * [PATH_TO_CRAFT_INSTALLATION]/craft queue/run
```

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance50

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 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

Every ~163 days

Recently: every ~142 days

Total

8

Last Release

168d ago

Major Versions

3.0.1 → 4.0.02024-05-27

4.0.1 → 5.0.02025-01-22

### Community

Maintainers

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

---

Top Contributors

[![lukasNo1](https://avatars.githubusercontent.com/u/19799373?v=4)](https://github.com/lukasNo1 "lukasNo1 (16 commits)")

### Embed Badge

![Health badge](/badges/nst-craft-publisher/health.svg)

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

###  Alternatives

[putyourlightson/craft-blitz

Intelligent static page caching for creating lightning-fast sites.

155480.1k35](/packages/putyourlightson-craft-blitz)[spicyweb/craft-neo

A Matrix-like field type with block hierarchy

393808.8k10](/packages/spicyweb-craft-neo)[craftcms/feed-me

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

292943.4k27](/packages/craftcms-feed-me)[clubstudioltd/craft-asset-rev

A plugin to aid cache-busting

110513.2k9](/packages/clubstudioltd-craft-asset-rev)[verbb/formie

The most user-friendly forms plugin for Craft.

100387.6k57](/packages/verbb-formie)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

53675.5k15](/packages/solspace-craft-freeform)

PHPackages © 2026

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