flexic / scheduler-bundle
Provides an scheduler bundle for symfony framework.
Installs: 130
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^8.1
- flexic/scheduler: ^2.0.4
- symfony/dependency-injection: ^6.1.5
- symfony/http-kernel: ^6.1.5
Requires (Dev)
- ergebnis/php-cs-fixer-config: ^4.9.0
- phpstan/phpstan: ^1.8.8
- phpstan/phpstan-deprecation-rules: ^1.0.0
- phpstan/phpstan-strict-rules: ^1.4.4
README
Provides the integration of the PHP Scheduler library into Symfony Framework.
Installation
Run
composer require flexic/scheduler-bundle
to install flexic/scheduler-bundle
.
If you are using Symfony Flex, the bundle will be automatically enabled.
To enable the bundle manually, add it to the list of registered bundles in the config/bundles.php
file of your project:
return [ // ... Flexic\SchedulerBundle\SchedulerBundle::class => ['all' => true], // ... ];
Tag Schedule Events
To make a schedule event available to the scheduler, you need to tag it with scheduler.schedule_event
.
services: _instanceof: Flexic\Scheduler\Interfaces\ScheduleEventInterface: tags: [ 'scheduler.schedule_event' ]
or
services: Your\Schedule\Event\Class: tags: [ 'scheduler.schedule_event' ]
License
This package is licensed using the GNU License.
Please have a look at LICENSE.md.