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

mtamazlicaru/cron-bundle

A Symfony bundle for defining and running scheduled cron jobs in PHP applications. Configure recurring console commands, let the bundle handle due-job execution, and keep background tasks organized alongside your application code.

View on GitHub
Deep Wiki
Context7

With the CronBundle you can configure cron jobs in configuration files

Frequently asked questions about Cron Bundle
Is mtamazlicaru/cron-bundle compatible with Laravel?
No, there is no native Laravel integration path. The package is a Symfony bundle that registers through bundles.php, uses a DependencyInjection extension, compiler passes, and symfony/console commands. Laravel does not load Symfony bundles or bind this package into Illuminate\Console\Scheduling\Schedule. For a Laravel application, use Laravel's native scheduler instead.
How do I install mtamazlicaru/cron-bundle in a Laravel application?
There is no supported Composer installation path for Laravel. The package expects Symfony bundle registration and Symfony console integration, and the assessment notes no service provider, config publish tag, package auto-discovery, or native Schedule binding. Installing it into a Laravel app risks dependency resolution conflicts rather than providing a working scheduler.
Which Laravel versions does this cron bundle support?
No Laravel version support is identified in the provided material. The assessment describes the package as Symfony-specific and likely constrained to older Symfony and PHP versions. You should not assume compatibility with current Laravel releases or their Symfony ^6/^7 dependencies.
Can I define cron jobs in configuration files with Laravel instead?
Yes. Laravel's native scheduler lets you define jobs in code or configuration and register them with Schedule::command(), ->cron(), ->withoutOverlapping(), ->onOneServer(), and ->runInBackground(). You then keep a single crontab entry that runs php artisan schedule:run every minute. That delivers the declarative scheduling pattern without adding a Symfony bundle.
Does this package replace Laravel's scheduler?
No. It is a Symfony bundle and does not integrate with Laravel's Illuminate\Console\Scheduling\Schedule API. It may be useful as a design reference for centralized schedule configuration, but it cannot replace Laravel's scheduler without a rewrite or a separate Symfony runtime. Laravel's scheduler already covers cron expressions, overlap prevention, single-server execution, and background runs.
What are the production risks of using this bundle with Laravel?
The assessment rates technical risk as high, citing zero stars, zero dependents, no visible CI, no test suite, no security policy, and no release cadence. A Symfony 2/3-era bundle may constrain symfony/console, framework-bundle, PSR container, and PHP versions that conflict with a current Laravel application. Composer could fail resolution or force downgrades across shared framework components, turning scheduling into an upgrade blocker.
Does mtamazlicaru/cron-bundle support overlap prevention or multi-node coordination?
The overview mentions scheduled jobs, logging, and run tracking, but it does not document locking, overlap prevention, or multi-node coordination. The assessment explicitly lists concurrency semantics and multi-node behavior as unresolved questions. Laravel's native scheduler provides withoutOverlapping() and onOneServer() for these production concerns.
Is mtamazlicaru/cron-bundle actively maintained?
The provided assessment finds no evidence of active maintenance. It reports score 0, no stars, zero dependents, and no visible CI, tests, security policy, or release cadence. Treat it as an unmaintained source snapshot and verify the last commit date and tagged releases before considering any use.
What are the best alternatives for scheduled tasks in Laravel?
Use Laravel's built-in task scheduler with Schedule::command(), ->cron(), ->withoutOverlapping(), ->onOneServer(), ->runInBackground(), and timeout controls. Keep one * * * * * php artisan schedule:run crontab entry and manage schedules in version-controlled application code. This avoids third-party package risk and matches the stated goal of centralized, configuration-driven cron jobs.
How should I migrate schedules from this bundle to Laravel?
Adopt the pattern rather than the package: define schedules in a configuration file or service provider and register them through Laravel's native Schedule API. Map each job's expression, command, timeout, overlap, and on-one-server flags to Laravel's scheduler methods. Test with schedule:list and command-level tests, and do not add the Symfony bundle as a dependency.
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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource