Download the PHP package vortos/vortos-ops-kit without Composer
On this page you can find all versions of the php package vortos/vortos-ops-kit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download vortos/vortos-ops-kit
More information about vortos/vortos-ops-kit
Files in vortos/vortos-ops-kit
Download vortos/vortos-ops-kit
More information about vortos/vortos-ops-kit
Files in vortos/vortos-ops-kit
Vendor vortos
Package vortos-ops-kit
Short Description Vortos Ops Kit — the one uniform swappable-driver pattern (port + named drivers + DI-keyed registry + capability descriptor + conformance TCK + agnosticism lint + make:driver scaffolder). Shared primitives every deploy/ops concern reuses. Zero runtime reflection.
License MIT
Package vortos-ops-kit
Short Description Vortos Ops Kit — the one uniform swappable-driver pattern (port + named drivers + DI-keyed registry + capability descriptor + conformance TCK + agnosticism lint + make:driver scaffolder). Shared primitives every deploy/ops concern reuses. Zero runtime reflection.
License MIT
Please rate this library. Is it a good library?
Informations about the package vortos-ops-kit
vortos/vortos-ops-kit
The one uniform swappable-driver pattern every Vortos deploy/ops concern reuses (roadmap §10). Build it once here so concerns 2–26 never reinvent registry / compiler-pass / capability / TCK subtly differently — the guard against "a mess all over the place."
What's in the box
| Primitive | Purpose |
|---|---|
Attribute\AsDriver |
Declares a driver's stable string key (read once, at compile time). |
Driver\DriverInterface |
The universal contract: every driver reports its capabilities(). A concern's port extends this. |
Driver\Capability\CapabilityDescriptor |
What a driver declares it can do — versioned, canonically serializable, machine-diffable. The single source for config-time validation. |
Driver\Capability\RequiredCapabilities + CapabilityValidator |
What a selection requires, and the fail-closed assertion that runs at config-validation time (CapabilityMismatchException with an actionable message). |
Driver\TaggedDriverRegistry |
Lazy, key→driver registry backed by a compile-time-built ServiceLocator. Zero runtime reflection. |
Driver\DependencyInjection\CollectDriversCompilerPass |
Reusable, late-priority collecting pass. Validates keys (lower-kebab, unique) at build time. |
Testing\ConformanceTestCase |
The TCK base. Every port ships a concrete subclass; every driver extends it — including negative cases (unsupported ⇒ throws, malformed ⇒ rejected). |
Architecture\AgnosticismScanner + Testing\AgnosticismLintTestCase |
AST-based lint (via nikic/php-parser): no provider name outside a Driver\ namespace or the composition root. |
PHPStan\AgnosticismRule |
The same lint as a first-class PHPStan rule, sharing ProviderNameMatcher (wire it once a phpstan.neon exists). |
Console\MakeDriverCommand |
vortos:make:driver <concern> <name> — scaffolds impl + #[AsDriver] + conformance test (--split adds a full composer package). |
Adding a concern (the shape every concern follows)
A driver is then just: implement the port + #[AsDriver(key: '…')]. vortos:make:driver
writes that for you.
Tests
All versions of vortos-ops-kit with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
vortos/vortos-foundation Version ^1.0
symfony/console Version ^7.3
symfony/dependency-injection Version ^7.3
vortos/vortos-foundation Version ^1.0
symfony/console Version ^7.3
symfony/dependency-injection Version ^7.3
The package vortos/vortos-ops-kit contains the following files
Loading the files please wait ...