Download the PHP package tourze/symfony-runtime-context-bundle without Composer
On this page you can find all versions of the php package tourze/symfony-runtime-context-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package symfony-runtime-context-bundle
Symfony Runtime Context Bundle
Context management module for Symfony applications, supporting deferred task execution and unique context identification.
Features
- Obtain a unique ID for the current runtime context
- Support for deferred (defer) task execution
- Reset mechanism compatible with Symfony lifecycle
- Extensible for different contexts (e.g., FPM, CLI)
Installation
- Requires PHP 8.1+
- Requires Symfony 6.4+ core components
- Install via Composer:
Quick Start
-
Register the bundle in
config/bundles.php
: - Inject and use
ContextServiceInterface
:
Documentation
ContextServiceInterface
: Defines the core context service interface, including unique ID retrieval, deferred execution, and coroutine supportDefaultContextService
: Default implementation based on process ID or generated unique IDDeferCallSubscriber
: Event subscriber responsible for executing all deferred tasks at the end of the lifecycle
Contributing
- Issues and PRs are welcome
- Follow PSR-12 code style
- Please ensure PHPUnit tests pass before submitting
License
- MIT License
- (c) tourze
Changelog
- See CHANGELOG.md or commit history for details
All versions of symfony-runtime-context-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
psr/log Version ^3|^2|^1
symfony/config Version ^6.4
symfony/console Version ^6.4
symfony/dependency-injection Version ^6.4
symfony/event-dispatcher Version ^6.4
symfony/framework-bundle Version ^6.4
symfony/http-kernel Version ^6.4
symfony/service-contracts Version ^3.5
symfony/yaml Version ^6.4 || ^7.1
tourze/backtrace-helper Version 0.1.*
psr/log Version ^3|^2|^1
symfony/config Version ^6.4
symfony/console Version ^6.4
symfony/dependency-injection Version ^6.4
symfony/event-dispatcher Version ^6.4
symfony/framework-bundle Version ^6.4
symfony/http-kernel Version ^6.4
symfony/service-contracts Version ^3.5
symfony/yaml Version ^6.4 || ^7.1
tourze/backtrace-helper Version 0.1.*
The package tourze/symfony-runtime-context-bundle contains the following files
Loading the files please wait ....