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(2mo ago)1603[1 issues](https://github.com/neustadt-swiss/craft-publisher/issues)MITPHP

Since Nov 22Pushed 2mo 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 today

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

39

—

LowBetter than 87% of packages

Maintenance66

Regular maintenance activity

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

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

72d 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.

152466.6k21](/packages/putyourlightson-craft-blitz)[nystudio107/craft-fastcgicachebust

Bust the Nginx FastCGI Cache when entries are saved or created.

1953.3k1](/packages/nystudio107-craft-fastcgicachebust)[putyourlightson/craft-cloudflare

Purge Cloudflare caches from Craft.

2515.1k](/packages/putyourlightson-craft-cloudflare)

PHPackages © 2026

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