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.
Table of contents
Download tourze/symfony-runtime-context-bundle
More information about tourze/symfony-runtime-context-bundle
Files in tourze/symfony-runtime-context-bundle
Download tourze/symfony-runtime-context-bundle
More information about tourze/symfony-runtime-context-bundle
Files in tourze/symfony-runtime-context-bundle
Vendor tourze
Package symfony-runtime-context-bundle
Short Description Symfony 上下文管理和延迟执行模块
License MIT
Package symfony-runtime-context-bundle
Short Description Symfony 上下文管理和延迟执行模块
License MIT
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
monolog/monolog Version
^3.1
psr/log Version ^3|^2|^1
symfony/config Version ^7.3
symfony/console Version ^7.3
symfony/dependency-injection Version ^7.3
symfony/event-dispatcher Version ^7.3
symfony/framework-bundle Version ^7.3
symfony/http-kernel Version ^7.3
symfony/property-access Version ^7.3
symfony/service-contracts Version ^3.6
symfony/yaml Version ^7.3
tourze/backtrace-helper Version 1.*
tourze/bundle-dependency Version 1.*
tourze/symfony-dependency-service-loader Version 1.0.*
psr/log Version ^3|^2|^1
symfony/config Version ^7.3
symfony/console Version ^7.3
symfony/dependency-injection Version ^7.3
symfony/event-dispatcher Version ^7.3
symfony/framework-bundle Version ^7.3
symfony/http-kernel Version ^7.3
symfony/property-access Version ^7.3
symfony/service-contracts Version ^3.6
symfony/yaml Version ^7.3
tourze/backtrace-helper Version 1.*
tourze/bundle-dependency Version 1.*
tourze/symfony-dependency-service-loader Version 1.0.*
The package tourze/symfony-runtime-context-bundle contains the following files
Loading the files please wait ...