Download the PHP package dukecity/command-scheduler-bundle without Composer
On this page you can find all versions of the php package dukecity/command-scheduler-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package command-scheduler-bundle
CommandSchedulerBundle
This bundle will allow you to easily manage scheduling for Symfony's console commands (native or not) with cron expression. See Wiki for Details
Versions & Dependencies
Please read Upgrade-News for Version 6
Version 7.x has the goal to use modern Php and Symfony features and low maintenance. So only PHP >= 8.4 and Symfony ^8.0 are supported at the moment.
The following table shows the compatibilities of different versions of the bundle :
| Version | Symfony | PHP |
|---|---|---|
| 7.x (main) | ^8.0 | >=8.4 |
| 6.x | ^7.0 + ^8.0 | >=8.2 |
| 5.x | ^5.4 + ^6.0 | >=8.0 |
| 4.x | ^4.4.20 + ^5.3 | >=8.0 |
| 3.x | ^4.4.20 + ^5.3 | >=7.3 |
| 2.2.x | ^3.4 + ^4.3 | ^7.1 |
Install
When using Symfony Flex there is an installation recipe.
To use it, you have to enable contrib recipes on your project :
Update Database
If you're using DoctrineMigrationsBundle (recommended way):
Without DoctrineMigrationsBundle:
Install Assets
Secure your route
Add this line to your security config.
- { path: ^/command-scheduler, role: ROLE_ADMIN }
Check new URL /command-scheduler/list
Features and Changelog
Please read Changelog
Screenshots
Extending the ScheduledCommand Entity
You can extend the default ScheduledCommand entity to add custom fields or behavior. The bundle uses a MappedSuperclass pattern with an interface for maximum flexibility.
Creating a Custom Entity
-
Create your custom entity extending
BaseScheduledCommand: -
Configure the bundle to use your custom entity:
- Update your database schema:
Available Extension Points
ScheduledCommandInterface- Contract for all scheduled command entitiesBaseScheduledCommand- MappedSuperclass with all base properties and methodsScheduledCommand- Default concrete entity (used if no custom class configured)ScheduledCommandFactory- Service for creating entity instances
Documentation
See the documentation here.
License
This bundle is under the MIT license. See the complete license for info.
All versions of command-scheduler-bundle with dependencies
doctrine/orm Version ^2.20.8 || ^3.5
doctrine/doctrine-bundle Version ^2.18.0 || ^3.1
doctrine/dbal Version ^3.10.4 || ^4.4
doctrine/persistence Version ^3.4.1 || ^4.1
dragonmantank/cron-expression Version ^3.6
knplabs/knp-time-bundle Version ^2.4
lorisleiva/cron-translator Version ^0.5
symfony/asset Version ^7.4 || ^8.0
symfony/config Version ^7.4 || ^8.0
symfony/console Version ^7.4 || ^8.0
symfony/framework-bundle Version ^7.4 || ^8.0
symfony/twig-bundle Version ^7.4 || ^8.0
symfony/translation Version ^7.4 || ^8.0
symfony/finder Version ^7.4 || ^8.0
symfony/form Version ^7.4 || ^8.0
symfony/validator Version ^7.4 || ^8.0
symfony/lock Version ^7.4 || ^8.0
symfony/dependency-injection Version ^7.4 || ^8.0
symfony/property-access Version ^7.4 || ^8.0
symfony/http-kernel Version ^7.4 || ^8.0
symfony/routing Version ^7.4 || ^8.0
symfony/yaml Version ^7.4 || ^8.0
twig/twig Version ^3.22