Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Cron Bundle

Cron Bundle Laravel Package

fgits/cron-bundle

fgits/cron-bundle is a Symfony bundle for managing cron jobs from configuration, letting you define, schedule, and run recurring tasks without editing system crontabs directly. It integrates cron expressions with your app's services and provides commands to list and execute due jobs.

View on GitHub
Deep Wiki
Context7

This bundle provides scheduled execution of Symfony commands

Frequently asked questions about Cron Bundle
Is fgits/cron-bundle compatible with Laravel?
No. fgits/cron-bundle is a Symfony Bundle that depends on Symfony's bundle lifecycle, including Kernel::registerBundles(), config/bundles.php, container compilation passes, and the Bundle base class. Laravel has no bundle registry, so the package cannot be installed and discovered the way a Laravel package normally is. Treat it as not compatible as-is.
Can I install fgits/cron-bundle in a Laravel app with Composer?
Composer may fetch the source, but installation is not integration. Laravel package discovery uses composer.json extra.laravel.providers, while this bundle requires Symfony kernel registration and bundle bootstrapping. There is no adapter layer between the two contracts, so you would be hand-porting code. The repository is also hosted on a non-canonical forge with no Packagist presence implied in the assessment.
What is fgits/cron-bundle used for?
It is a Symfony bundle for managing cron jobs from configuration, letting you define, schedule, and run recurring tasks without editing system crontabs directly. It integrates cron expressions with application services and provides commands to list and execute due jobs. Its stated purpose is scheduled execution of Symfony commands, not Laravel Artisan commands.
Does Laravel already have a cron scheduler?
Yes. Laravel provides the Illuminate Console Scheduling Schedule capability, which is driven by a single system cron entry running php artisan schedule:run every minute. It supports cron expressions, daily schedules, withoutOverlapping(), and onOneServer(). That covers the stated functionality without adding a second scheduling layer or a new dependency.
How do I schedule Symfony commands in Laravel without this bundle?
Register the Symfony Command classes you need in Laravel's console kernel via $this->commands([...]), or in Laravel 11-style routes/console.php where applicable, then schedule them with Laravel Scheduler. Laravel's console kernel is built on Symfony Console, so many Symfony Command classes can usually run as Artisan commands. This gives you the command logic without the bundle's Symfony bootstrapping.
Can Laravel run Symfony Console command classes directly?
Often yes, because Laravel's console layer is built on Symfony Console. You can register command classes in the console kernel and adapt constructor dependencies through Laravel's container where needed. The practical path is to port or register the specific commands, not to mount a Symfony bundle inside Laravel.
Is fgits/cron-bundle on Packagist and actively maintained?
The assessment says it is hosted at git.fgit.de, a non-canonical forge, with no Packagist presence implied, no stars, no dependents, and a 0 maintenance score. There are no version tags or semver guarantees to lean on according to the evaluation. Before any reliance, verify tagged releases, a CHANGELOG, and a Symfony version constraint matrix. Treat long-term availability as a risk.
What are the alternatives to fgits/cron-bundle for Laravel scheduled jobs?
For Laravel, use Laravel Scheduler with Artisan commands registered in the console kernel or routes/console.php. For Symfony applications, symfony/scheduler from Symfony 6.3+ is the upstream direction. A third-party cron bundle is a legacy pattern, and if you only need command classes, depend on symfony/console, which is already transitively present in Laravel.
How risky is using fgits/cron-bundle in a Laravel production app?
The technical risk is high because the stack fit is poor, the hosting is non-canonical, adoption is zero, and there is no issue history or Stack Overflow coverage to lean on. A scheduler must keep pace with PHP and Symfony version changes, and the maintenance signal here is weak. Even a successful integration would duplicate Laravel's scheduler and add a non-idiomatic layer your team must maintain.
Can I wrap fgits/cron-bundle in a Laravel service provider?
Not meaningfully. The bundle contract is the Symfony Bundle lifecycle and container compilation passes, not Laravel's ServiceProvider contract, and Laravel has no bundle registry. Your realistic options are to port the command code or isolate the bundle in a separate Symfony application or process invoked from Laravel via a queued job or shell call. Do not try to mount Symfony bundles inside Laravel's container.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo
bernskioldmedia/laravel-harvest
bernskiold/laravel-data-scrubber
bernskiold/laravel-currency-converter
bernskiold/laravel-campaign-monitor
bernskioldmedia/laravel-autotranslate
siberfx/telegram-bot
roy-sandip/laravel-view-extended
gregsphotography/site-builder-core
roy-sandip/laravel-view
anodyne/blade-fluentui-icons
webx-ui/module-catalog-collections