Download the PHP package liquidrazor/diregistry without Composer
On this page you can find all versions of the php package liquidrazor/diregistry. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download liquidrazor/diregistry
More information about liquidrazor/diregistry
Files in liquidrazor/diregistry
Download liquidrazor/diregistry
More information about liquidrazor/diregistry
Files in liquidrazor/diregistry
Vendor liquidrazor
Package diregistry
Short Description Strict descriptor-driven dependency injection registry library for PHP 8.3+.
License MIT
Homepage https://github.com/LiquidRazor/DIRegistry
Package diregistry
Short Description Strict descriptor-driven dependency injection registry library for PHP 8.3+.
License MIT
Homepage https://github.com/LiquidRazor/DIRegistry
Please rate this library. Is it a good library?
Informations about the package diregistry
DI Registry
DI Registry is a PHP 8.3+ library for descriptor-driven dependency resolution and instantiation.
It is intentionally strict:
- descriptors are explicit data, not executable configuration
- resolution keys are limited to contract or class path
- resolution is deterministic or it fails
- runtime instances are stored outside descriptor metadata
- scalar and configuration values are provided explicitly through a value provider
The library is built from four concrete runtime pieces:
RegistryCompilerturns normalized descriptor definitions into a validatedCompiledRegistryDescriptorResolverselects exactly oneProspectDescriptorDescriptorInstantiatorbuilds an object from that descriptorInMemoryRuntimeInstanceStorehandles singleton, scoped, and pooled runtime behavior
Installation
Requirements:
- PHP 8.3 or newer
- Composer autoloading
- a source of descriptor definitions before runtime
Quick Start
What this example shows:
- the compiler computes descriptor checksums and validates the full descriptor set
- contract dependencies are resolved through the resolver
- scalar dependencies come only from
DependencyValueProviderInterface - singleton reuse is handled by the runtime store, not by registry mutation
Key Constraints
- No alias system.
- No autowiring.
- No fallback from one environment to another.
- No best-effort choice when multiple candidates remain tied.
- No automatic handling of scalar or config dependencies.
- No runtime mutation of compiled registry contents.
Documentation
Start with Documentation Home.
Recommended entry points:
- Overview: design constraints, architecture, and library fit.
- Getting Started: installation, first registry compilation, and first resolution.
- Usage Guide: concrete runtime wiring and operational behavior.
- Reference: public contracts, descriptors, enums, and exceptions.
- Validation & Debug: compile checks, debug validation, and troubleshooting.
Development
All versions of diregistry with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.3
The package liquidrazor/diregistry contains the following files
Loading the files please wait ...