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

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

natepage/schedule-bundle
========================

Provides the Command Scheduling logic of Laravel in a Symfony application

034PHP

Since Aug 15Pushed 6y ago1 watchersCompare

[ Source](https://github.com/natepage/schedule-bundle)[ Packagist](https://packagist.org/packages/natepage/schedule-bundle)[ RSS](/packages/natepage-schedule-bundle/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

ScheduleBundle
==============

[](#schedulebundle)

Provides the Command Scheduling logic of Laravel in a Symfony application

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

[](#installation)

```
$ composer require loyaltycorp/schedule-bundle
```

Until a recipe is created for this bundle you will need to register it manually:

```
// config/bundles.php

return [
    // Other bundles...

    LoyaltyCorp\Schedule\ScheduleBundle\ScheduleBundle::class => ['all' => true],
];
```

Usage
-----

[](#usage)

### Register Your Scheduled Commands

[](#register-your-scheduled-commands)

To register the scheduled commands this bundle implements a concept of "schedule providers", thanks to Symfony's autoconfigure feature, the only thing required is to create services that implement `LoyaltyCorp\Schedule\ScheduleBundle\Interfaces\ScheduleProviderInterface`. The `ScheduleInterface` passed to the `schedule` method offers all the features of the [Laravel Console Scheduling](https://laravel.com/docs/5.8/scheduling).

```
// src/Schedule/MyScheduleProvider.php

use LoyaltyCorp\Schedule\ScheduleBundle\Interfaces\ScheduleProviderInterface;

final class MyScheduleProvider implements ScheduleProviderInterface
{
    /**
     * Schedule command on given schedule.
     *
     * @param \Loyaltycorp\Schedule\ScheduleBundle\Interfaces\ScheduleInterface $schedule
     *
     * @return void
     */
    public function schedule(ScheduleInterface $schedule): void
    {
        $schedule
            ->command('poc:hello-world', ['-v'])
            ->everyMinute()
            ->setMaxLockTime(120);

        $schedule
            ->command('poc:hello-world-2')
            ->everyFiveMinutes();
        }
    }
```

### Run The Schedule

[](#run-the-schedule)

This bundle providers a console command to run the schedule:

```
$ php bin/console schedule:run
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![natepage](https://avatars.githubusercontent.com/u/11576446?v=4)](https://github.com/natepage "natepage (27 commits)")

### Embed Badge

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

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

###  Alternatives

[guiliredu/laravel-seed-migration-estados-cidades-brasil

Pacote com informações de todas cidades e estados brasileiros.

7715.4k](/packages/guiliredu-laravel-seed-migration-estados-cidades-brasil)

PHPackages © 2026

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