PHPackages                             dbh/symfony-schedule-bundle - 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. dbh/symfony-schedule-bundle

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

dbh/symfony-schedule-bundle
===========================

clone from m-adamski/symfony-schedule-bundle

v2.2.0(4y ago)02.4kMITPHPPHP ^7.2|^8.0

Since Feb 13Pushed 4y agoCompare

[ Source](https://github.com/h136799711/symfony-schedule-bundle)[ Packagist](https://packagist.org/packages/dbh/symfony-schedule-bundle)[ RSS](/packages/dbh-symfony-schedule-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (11)Used By (0)

JUST FOR PERSONAL USE
=====================

[](#just-for-personal-use)

Schedule Bundle for Symfony
===========================

[](#schedule-bundle-for-symfony)

Bundle for simplifying operations with CRON jobs.

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

[](#installation)

This Bundle can be installed by Composer:

```
$ composer require Dbh/symfony-schedule-bundle

```

How to use it?
--------------

[](#how-to-use-it)

Bundle provide functionality to manage CRON jobs by configuration from specified file. We need to create class implementing `Dbh\Symfony\ScheduleBundle\Model\ManagerInterface` interface.

```
namespace App\Model;

use Dbh\Symfony\ScheduleBundle\Model\ManagerInterface;
use Dbh\Symfony\ScheduleBundle\Model\Schedule;

class ScheduleManager implements ManagerInterface {

    public function schedule(Schedule $schedule) {
        // TODO: ..
    }
}

```

Then we need to complete the configuration - create file `config/packages/schedule.yaml` and set path to ScheduleManager:

```
schedule:
    manager: App\Model\ScheduleManager

```

Command schedule configuration
------------------------------

[](#command-schedule-configuration)

In function `schedule` we can configure CRON jobs with required expressions. For example we want run `app:test-command` daily at 12:00:

```
public function schedule(Schedule $schedule) {
    $schedule->command("app:test-command")->dailyAt("12:00");
}

```

Schedule class provide many date-time manipulators. This functionality is inspired by Laravel Tasks Scheduling.

Schedule Frequency Options
--------------------------

[](#schedule-frequency-options)

There are many schedules that you can assign to your task.

Methodcron($expression)everyMinute()everyFiveMinutes()cron($expression)everyMinute()everyFiveMinutes()everyTenMinutes()everyFifteenMinutes()everyThirtyMinutes()hourly()hourlyAt(int $offset)daily()at(string $time)dailyAt(string $time)twiceDaily(int $first = 1, int $second = 13)weekdays()weekends()mondays()tuesdays()wednesdays()thursdays()fridays()saturdays()sundays()weekly()weeklyOn(int $day, string $time = "0:0")monthly()monthlyOn(int $day = 1, string $time = "0:0")twiceMonthly(int $first = 1, int $second = 16)quarterly()yearly()days($days)CRON
----

[](#cron)

Now it's enough to insert only one entry into crontab on server:

```
* * * * * php /path-to-project/bin/console schedule:run >> schedule.log 2>&1

```

License
-------

[](#license)

MIT

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 91.3% 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 ~171 days

Recently: every ~225 days

Total

10

Last Release

1465d ago

Major Versions

1.3.0 → 2.0.02020-02-07

PHP version history (3 changes)1.0.0PHP ^7.1

2.0.0PHP ^7.2

v2.1.0PHP ^7.2|^8.0

### Community

Maintainers

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

---

Top Contributors

[![m-adamski](https://avatars.githubusercontent.com/u/21038303?v=4)](https://github.com/m-adamski "m-adamski (21 commits)")[![emulienfou](https://avatars.githubusercontent.com/u/84061?v=4)](https://github.com/emulienfou "emulienfou (1 commits)")[![zorn-v](https://avatars.githubusercontent.com/u/12619075?v=4)](https://github.com/zorn-v "zorn-v (1 commits)")

### Embed Badge

![Health badge](/badges/dbh-symfony-schedule-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/dbh-symfony-schedule-bundle/health.svg)](https://phpackages.com/packages/dbh-symfony-schedule-bundle)
```

###  Alternatives

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M567](/packages/symfony-maker-bundle)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[shivas/versioning-bundle

Symfony application versioning, simple console command to manage version (with providers e.g. git tag) of your application using Semantic Versioning 2.0.0 recommendations

1121.2M1](/packages/shivas-versioning-bundle)[symfony/ai-bundle

Integration bundle for Symfony AI components

30282.3k6](/packages/symfony-ai-bundle)

PHPackages © 2026

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