andersundsehr / sentry-async
Asynchronous Sentry for Symfony - Fire and forget
Installs: 314
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ~8.2.0 || ~8.3.0 || ~8.4.0
- ext-fileinfo: *
- guzzlehttp/guzzle: ^7.9.3
- http-interop/http-factory-guzzle: ^1.2.0
- php-http/discovery: ^1.20.0
- psr/http-client: ^1.0.3
- psr/http-factory: ^1.1.0
- psr/http-message: ^2.0.0
- sentry/sentry: ^4.14.2
Requires (Dev)
- phpstan/phpstan-symfony: ^2.0.7
- pluswerk/grumphp-config: ^10.1.3
- symfony/http-kernel: ^6.4 || ^7.3.2
- symfony/test-pack: ^1.1
This package is auto-updated.
Last update: 2025-08-19 08:51:36 UTC
README
To enable the asynchronous transport configure sentry to use our transport factory.
The extension is shipped with a default file_queue, which may be configured in config/packages/sentry.yaml
sentry: options: transport: AUS\SentryAsync\Transport\QueueTransport sentry_async: file_queue: compress: true limit: 200 directory: '%kernel.cache_dir%/sentry_async/'
Indeed, you can use another queue functionality and do things on your own config/services.yaml implementing \AUS\SentryAsync\Queue\QueueInterface
App\Queue\ExampleQueue: public: true AUS\SentryAsync\Transport\QueueTransport: $queue: '@App\Queue\ExampleQueue'
You can also change the Entry implementation, if you want to carry extradata for your imlpementation.
sentry_async: entry_factory: entry_class: 'AUS\SentryAsync\Entry\Entry'