ricardoapaes / sentry-cron-command
There is no license information available for the latest version (v1.0.0) of this package.
Integration between `symfony/console` and `sentry/sentry` for scheduled tasks.
v1.0.0
2025-10-01 11:26 UTC
Requires
- php: >=7.4
- sentry/sentry: ^4.0
- symfony/console: ^5.0 || ^6.0 || ^7.0
- symfony/event-dispatcher: ^5.0 || ^6.0 || ^7.0
Requires (Dev)
- limedeck/phpunit-detailed-printer: ^6.0
- maglnet/composer-require-checker: ^3.8 || ^4.16
- php-parallel-lint/php-parallel-lint: ^1.4
- phpstan/phpstan: ^2.0
- phpunit/phpunit: ^9.0
- rector/rector: ^2.0
- symplify/easy-coding-standard: ^12.6
- yoast/phpunit-polyfills: ^2.0
This package is auto-updated.
Last update: 2025-10-01 11:28:08 UTC
README
Setup
composer require ricardoapaes/sentry-cron-command
How to use?
When creating the Command
in symfony/console
, implement the RicardoPaes\Sentry\Cron\Command
interface.
In your Application
, add the events from the RicardoPaes\Sentry\Cron\ApplicationDispatch
trait.
You can find a working example used in the tests in the "tests/Cron" folder.