PHPackages                             silverstripe-terraformers/embargo-expiry - 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. silverstripe-terraformers/embargo-expiry

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

silverstripe-terraformers/embargo-expiry
========================================

Simple embargo &amp; expiry for SiteTree

3.0.0(5mo ago)799.6k↓11.6%11[6 issues](https://github.com/silverstripe-terraformers/silverstripe-embargo-expiry/issues)[2 PRs](https://github.com/silverstripe-terraformers/silverstripe-embargo-expiry/pulls)BSD-3-ClausePHPPHP ^8.3

Since Jul 22Pushed 3mo ago11 watchersCompare

[ Source](https://github.com/silverstripe-terraformers/silverstripe-embargo-expiry)[ Packagist](https://packagist.org/packages/silverstripe-terraformers/embargo-expiry)[ RSS](/packages/silverstripe-terraformers-embargo-expiry/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (24)Used By (0)

Embargo/Expiry Module
=====================

[](#embargoexpiry-module)

[![example workflow](https://github.com/silverstripe-terraformers/silverstripe-embargo-expiry/actions/workflows/main.yml/badge.svg)](https://github.com/silverstripe-terraformers/silverstripe-embargo-expiry/actions/workflows/main.yml/badge.svg)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/a623118b534ad0a3fee2fb29f45ddf59e266b5fc65237de1132358b5bab841db/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73696c7665727374726970652d7465727261666f726d6572732f73696c7665727374726970652d656d626172676f2d6578706972792f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/silverstripe-terraformers/silverstripe-embargo-expiry/?branch=master)[![codecov](https://camo.githubusercontent.com/33347b2a7d9ae197c2ef3e131ee602bbf097444f4d6a6115efa85cc489d2ba5d/68747470733a2f2f636f6465636f762e696f2f67682f73696c7665727374726970652d7465727261666f726d6572732f73696c7665727374726970652d656d626172676f2d6578706972792f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/silverstripe-terraformers/silverstripe-embargo-expiry)

Overview
--------

[](#overview)

Based on the work by [Marcus Nyeholt](https://github.com/nyeholt) and [Andrew Short](https://github.com/ajshort) for the [Advanced Workflow](https://github.com/symbiote/silverstripe-advancedworkflow/) module.

This module adds the ability to schedule publish and unpublish events at a certain date and time. It can be applied to different model classes, but is commonly used with `SiteTree`.

Features:

- Date and time picker (through SilverStripe CMS, where browsers [support](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local) it)
- Publish "windows" by setting a publish date with a subsequent unpublish date
- Scheduled publication through [queuedjobs](https://github.com/symbiote/silverstripe-queuedjobs)
- Respects cascading publish through [ownership relations](https://docs.silverstripe.org/en/developer_guides/model/versioning/#dataobject-ownership)
- Expiry unpublishes the page (leaves it in "draft" mode)
- Optionally lock editing while publication is scheduled
- Add status flags to pages in the tree
- Support for translations in [silverstripe/fluent](https://github.com/tractorcow/silverstripe-fluent)

Credit and Authors
------------------

[](#credit-and-authors)

- [Chris Penny](https://github.com/chrispenny) - [SilverStripe Embargo &amp; Expiry](https://github.com/silverstripe-terraformers/silverstripe-embargo-expiry)
- [Marcus Nyeholt](https://github.com/nyeholt) - [Advanced Workflow](https://github.com/symbiote/silverstripe-advancedworkflow/)
- [Andrew Short](https://github.com/ajshort) - [Advanced Workflow](https://github.com/symbiote/silverstripe-advancedworkflow/)

Requirements
------------

[](#requirements)

- SilverStripe 6
- [Queuedjobs](https://github.com/symbiote/silverstripe-queuedjobs)

Documentation
-------------

[](#documentation)

- [Installation](docs/en/installation.md)
- [Configuration](docs/en/configuration.md)
- [Fluent Support](docs/en/fluent-support.md)

Known Limitations
-----------------

[](#known-limitations)

- Does not support recurring embargo or expiry schedules
- Does not support multiple concurrent schedules for the same object
- Does not support embargo to a particular live version
- Does not support expiry to an earlier live version
- Any edits to an embargoed page will be published on the date (not tied to a version)

###  Health Score

56

—

FairBetter than 98% of packages

Maintenance58

Moderate activity, may be stable

Popularity39

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

 Bus Factor3

3 contributors hold 50%+ of commits

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 ~141 days

Recently: every ~275 days

Total

20

Last Release

166d ago

Major Versions

1.2.3 → 2.x-dev2023-02-26

2.0.0 → 3.0.02025-12-03

PHP version history (4 changes)v1.0.0-rc4PHP ^7.1

1.1.0PHP ^7.4 || ^8.0

2.0.0PHP ^8

3.0.0PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/2db96f6ba18193dc0469b4c0d86c6755579295f9f0c5a608cd50f2d7a998f88e?d=identicon)[frankmullenger](/maintainers/frankmullenger)

![](https://avatars.githubusercontent.com/u/505788?v=4)[Chris Penny](/maintainers/chrispenny)[@chrispenny](https://github.com/chrispenny)

![](https://avatars.githubusercontent.com/u/16602727?v=4)[mfendek](/maintainers/mfendek)[@mfendek](https://github.com/mfendek)

![](https://avatars.githubusercontent.com/u/855269?v=4)[Hayden Shaw](/maintainers/thats4shaw)[@thats4shaw](https://github.com/thats4shaw)

![](https://avatars.githubusercontent.com/u/948122?v=4)[Bernard Hamlin](/maintainers/blueo)[@blueo](https://github.com/blueo)

---

Top Contributors

[![chrispenny](https://avatars.githubusercontent.com/u/505788?v=4)](https://github.com/chrispenny "chrispenny (5 commits)")[![mfendeksilverstripe](https://avatars.githubusercontent.com/u/26395487?v=4)](https://github.com/mfendeksilverstripe "mfendeksilverstripe (5 commits)")[![emteknetnz](https://avatars.githubusercontent.com/u/4809037?v=4)](https://github.com/emteknetnz "emteknetnz (2 commits)")[![blueo](https://avatars.githubusercontent.com/u/948122?v=4)](https://github.com/blueo "blueo (2 commits)")[![adrhumphreys](https://avatars.githubusercontent.com/u/10803137?v=4)](https://github.com/adrhumphreys "adrhumphreys (2 commits)")[![MelissaWu-SS](https://avatars.githubusercontent.com/u/81267819?v=4)](https://github.com/MelissaWu-SS "MelissaWu-SS (1 commits)")[![oddnoc](https://avatars.githubusercontent.com/u/568583?v=4)](https://github.com/oddnoc "oddnoc (1 commits)")[![alex-dna](https://avatars.githubusercontent.com/u/6982515?v=4)](https://github.com/alex-dna "alex-dna (1 commits)")[![chillu](https://avatars.githubusercontent.com/u/111025?v=4)](https://github.com/chillu "chillu (1 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")[![jareddreyerss](https://avatars.githubusercontent.com/u/56658401?v=4)](https://github.com/jareddreyerss "jareddreyerss (1 commits)")

---

Tags

embargoexpiryhacktoberfestsilverstripesilverstripepublishembargoexpiryunpublish

### Embed Badge

![Health badge](/badges/silverstripe-terraformers-embargo-expiry/health.svg)

```
[![Health](https://phpackages.com/badges/silverstripe-terraformers-embargo-expiry/health.svg)](https://phpackages.com/packages/silverstripe-terraformers-embargo-expiry)
```

PHPackages © 2026

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