hypervel / container
The Hypervel Container package.
Requires
- php: ^8.2
- hyperf/context: ~3.1.0
- hyperf/di: ~3.1.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- 0.4.x-dev
- 0.3.x-dev
- dev-main / 0.3.x-dev
- v0.3.26
- v0.3.25
- v0.3.24
- v0.3.23
- v0.3.22
- v0.3.21
- v0.3.20
- v0.3.19
- v0.3.18
- v0.3.17
- v0.3.16
- v0.3.15
- v0.3.14
- v0.3.13
- v0.3.12
- v0.3.11
- v0.3.10
- v0.3.9
- v0.3.8
- v0.3.7
- v0.3.6
- v0.3.5
- v0.3.4
- v0.3.3
- v0.3.2
- v0.3.1
- v0.3.0
- 0.2.x-dev
- v0.2.12
- v0.2.11
- v0.2.10
- v0.2.9
- v0.2.8
- v0.2.7
- v0.2.6
- v0.2.5
- v0.2.4
- v0.2.3
- v0.2.2
- v0.2.1
- v0.2.0
- 0.1.x-dev
- v0.1.7
- v0.1.6
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1.0
This package is auto-updated.
Last update: 2026-10-31 12:39:37 UTC
README
Documentation: https://hypervel.org/docs/container
Differences From Laravel
Hypervel supports Laravel's named container APIs, but not container ArrayAccess or dynamic service properties. Use make() / get(), bound() / has(), bind(), and instance(). For temporary instance overrides, use forgetInstance() to restore the original binding. Hypervel does not expose arbitrary binding removal because registrations are worker-wide boot-time state.
A contextual attribute's resolved value is authoritative, including null. Unlike Laravel, Hypervel does not fall through to class or primitive resolution, contextual bindings, or declared defaults after a contextual resolver returns null.
#[BindWhen] conditions must depend only on boot-stable state. The first matching condition becomes a normal worker-lifetime binding; unmatched conditions remain eligible for reevaluation on later resolutions.
Hypervel does not expose Laravel's protected per-parameter override helpers. Container subclasses that customize parameter override resolution should override resolveRecipeParameters(), which receives the current coroutine's resolution state and resolves the complete parameter list in one pass.
Ported from: https://github.com/laravel/framework/tree/13.x/src/Illuminate/Container