PHPackages                             restruct/silverstripe-softscheduler - 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. restruct/silverstripe-softscheduler

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

restruct/silverstripe-softscheduler
===================================

Adds a very simple way to schedule (Embargo/Expire) SiteTree items

2.0(5y ago)084MITPHP

Since May 11Pushed 5y ago4 watchersCompare

[ Source](https://github.com/restruct/silverstripe-softscheduler)[ Packagist](https://packagist.org/packages/restruct/silverstripe-softscheduler)[ RSS](/packages/restruct-silverstripe-softscheduler/feed)WikiDiscussions master Synced 3w ago

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

\#SoftScheduler

\##non-cron Embargo &amp; Expiry Module

This module allows you to specify when a page should become available (embargo) and when it should expire. It's called 'softscheduler' because it doesn't take care of publishing or unpublishing pages. Instead it checks if a published page should be available according to its set embargo/expire dates.

- Someone that is logged in as an admin will always be able to see the page.
- Setting both values as blank will mean the page is always visible.
- If the embargo time and/or date are blank, the page will be displayed until it expires.
- If the expiry time and/or date are blank, the page will be displayed once it embargos, and wont expire.

Screenshots
-----------

[](#screenshots)

*Schedule pages to become available/expire on certain dates &amp; times*[![](images/screenshots/schedulefields.png)](images/screenshots/schedulefields.png)

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

[](#installation)

```
composer require micschk/silverstripe-softscheduler dev-master

```

Apply as Extension to pagetypes requiring scheduling (eg. NewsItems)

```
---
name: 'schedulerextension'
---
NewsGridPage:
  extensions:
    - Restruct\SoftScheduler\Extensions\EmbargoExpirySchedulerExtension
```

\##Usage Overview

This doesn't work with staticpublisher and requires extra check to work well with partialcaching

Check for use in partialcaching: $publishedStatus

Convenience function is supplied to add extra 'where' for DB queries (TODO: apply via augmentSQL, [see for example](https://github.com/micmania1/silverstripe-blogger/blob/1.0/extensions/BlogPostFilter.php))

```
// workaround for Embargo/Expiry (augmentSQL for embargo/expiry is not working yet);
if( $class::has_extension(EmbargoExpirySchedulerExtension::class) ){
	$items = $items->where( EmbargoExpirySchedulerExtension::extraWhereQuery($class) );
}
```

\##Requirements

SilverStripe 4.0+

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.4% 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

1879d ago

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/4d3680d6353e5f171543435b89965ba2588186ad7ec0ec97cbf572704fec2a4f?d=identicon)[micschk](/maintainers/micschk)

---

Top Contributors

[![patjnr](https://avatars.githubusercontent.com/u/435055?v=4)](https://github.com/patjnr "patjnr (5 commits)")[![micschk](https://avatars.githubusercontent.com/u/1005986?v=4)](https://github.com/micschk "micschk (2 commits)")

---

Tags

silverstripeschedulesitetreeembargoexpiry

### Embed Badge

![Health badge](/badges/restruct-silverstripe-softscheduler/health.svg)

```
[![Health](https://phpackages.com/badges/restruct-silverstripe-softscheduler/health.svg)](https://phpackages.com/packages/restruct-silverstripe-softscheduler)
```

###  Alternatives

[silverstripe/userforms

UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code

1371.1M85](/packages/silverstripe-userforms)[symbiote/silverstripe-gridfieldextensions

A collection of useful grid field components

951.9M271](/packages/symbiote-silverstripe-gridfieldextensions)[symbiote/silverstripe-advancedworkflow

Adds configurable workflow support to the CMS, with a GUI for creating custom workflow definitions.

46302.4k9](/packages/symbiote-silverstripe-advancedworkflow)[silverstripe/tagfield

Tag field for SilverStripe

561.3M50](/packages/silverstripe-tagfield)[lekoala/silverstripe-cms-actions

Add actions to your models in SilverStripe

39344.8k31](/packages/lekoala-silverstripe-cms-actions)[lekoala/silverstripe-softdelete

Soft delete extension for SilverStripe

11236.3k](/packages/lekoala-silverstripe-softdelete)

PHPackages © 2026

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