PHPackages                             sqli/publish\_scheduler - 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. sqli/publish\_scheduler

ActiveEzplatform-bundle[Utility &amp; Helpers](/categories/utility)

sqli/publish\_scheduler
=======================

SQLI Publish Schedule is a bundle to perform a delayed publish and unpublish for content

03PHP

Since Jun 21Pushed 6y ago1 watchersCompare

[ Source](https://github.com/DocDams/SQLIPublishScheduler)[ Packagist](https://packagist.org/packages/sqli/publish_scheduler)[ RSS](/packages/sqli-publish-scheduler/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

SQLI Publish Scheduler
======================

[](#sqli-publish-scheduler)

[SQLI](http://www.sqli.com) Publish Schedule is a bundle to perform a delayed publish and unpublish for content

By default, publish/unpublish works with Location's visibility (variable `sqli_publish_scheduler.publish_scheduler_handler`) and dates must be defined in 2 ContentFields (eZDate or eZDateTime)

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

[](#installation)

### Install with composer

[](#install-with-composer)

```
composer require sqli/publish_scheduler:dev-master

```

### Register the bundle

[](#register-the-bundle)

Activate the bundle in `app/AppKernel.php`

```
// app/AppKernel.php

public function registerBundles()
{
    $bundles = [
        // ...
        new SQLI\PublishSchedulerBundle\SQLIPublishSchedulerBundle(),
    ];
}
```

### ContentType

[](#contenttype)

Add 2 new fields (ezdate or ezdatetime) for each ContentType concerned by delayed publication. Expected identifiers : `publish_date` and `unpublish_date`, or whatever defined in `sqli_publish_scheduler.ezdatetime_field_publish` and `sqli_publish_scheduler.ezdatetime_field_unpublish`

### Parameters (optional)

[](#parameters-optional)

This is the defaults parameters

```
sqli_publish_scheduler:
    ezdatetime_field_publish: 'publish_date'
    ezdatetime_field_unpublish: 'unpublish_date'
    publish_scheduler_handler: '@sqli_publish_scheduler.handler.visibility'
```

### Cron (optional)

[](#cron-optional)

Command cronjob used ezplatform-cron and already declared in `services.yml` to publish/unpublish contents. You can override this service in order to change frequency (every minute by default)

```
services:
    sqli_publish_scheduler.cron:
        class: SQLI\PublishSchedulerBundle\Command\PublishUnpublishCommand
        tags:
            - { name: console.command }
            - { name: ezplatform.cron.job, schedule: '* * * * *' }
```

You can change the frequency of the cronjob with `schedule` property according to [CRON expression](https://en.wikipedia.org/wiki/Cron#CRON_expression)

Please note that no category is defined, so this cronjob is in category `default`

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

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

---

Top Contributors

[![daverner](https://avatars.githubusercontent.com/u/165188285?v=4)](https://github.com/daverner "daverner (3 commits)")[![DocDams](https://avatars.githubusercontent.com/u/13361723?v=4)](https://github.com/DocDams "DocDams (3 commits)")

### Embed Badge

![Health badge](/badges/sqli-publish-scheduler/health.svg)

```
[![Health](https://phpackages.com/badges/sqli-publish-scheduler/health.svg)](https://phpackages.com/packages/sqli-publish-scheduler)
```

###  Alternatives

[jordanmiguel/laravel-popular

A Laravel package to track popularity of entries(by Models) in a website at a certain time.

659.6k1](/packages/jordanmiguel-laravel-popular)[jaaulde/php-ipv4

PHP classes for working with IPV4 addresses and networks.

1034.6k](/packages/jaaulde-php-ipv4)[ip2location/ip2location-cakephp

Lookup for visitor's IP information, such as country, region, city, coordinates, zip code, time zone, ISP, domain name, connection type, area code, weather, MCC, MNC, mobile brand name, elevation and usage type.

224.6k](/packages/ip2location-ip2location-cakephp)

PHPackages © 2026

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