Download the PHP package switon/context without Composer
On this page you can find all versions of the php package switon/context. 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 context
Switon Context Package
Switon's runtime state manager for ContextAware components, including HTTP request isolation and coroutine sharing.
Highlights
- Request isolation: mutable state stays out of long-lived services.
- Automatic context binding:
getContext()resolves the matching context for each component. - Coroutine sharing: child coroutines can inherit or reset context as needed.
- Lifecycle events: child-context creation and propagation are observable.
- Scoped runtime state:
ContextManagerkeeps the active context available for the current request or coroutine.
Installation
Quick Start
Docs: https://docs.switon.dev/latest/context
License
MIT.
All versions of context with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.3
psr/event-dispatcher Version ^1.0
switon/core Version ^1.0
switon/event Version ^1.0
psr/event-dispatcher Version ^1.0
switon/core Version ^1.0
switon/event Version ^1.0
The package switon/context contains the following files
Loading the files please wait ...