Search by

kumwe / business-schema

llewellyn

Portable physical schema blueprints, deterministic change plans and recovery values.

Package info

github.com/kumwe/business-schema

pkg:composer/kumwe/business-schema

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.3 2026-09-10 18:45 UTC

README

Packagist version CI PHP requirement License

Portable physical schema blueprints, deterministic change plans and recovery values under Kumwe\BusinessSchema.

Installation

Requires 64-bit PHP 8.5 with JSON and mbstring. Pin an exact pre-1.0 release:

composer require kumwe/business-schema:0.1.3

Composer declares exact Business Definition and Sequence requirements. The version badge links published packages; default-branch CI reports package quality checks. Consumers separately verify exact releases and their Core integration.

Usage and Core contract

Construct values directly. Register Kumwe\BusinessSchema\ConfigProvider with your ConfigAggregator for shared compiler and planner services. Core must bind DefinitionSchemaLookup, FieldTypeDefinitionResolver and PhysicalNameCompiler; there are no implicit authority or naming defaults. See the service map and runnable consumer, which uses Laminas ServiceManager.

Use SchemaChangePlanner::dependencyHandles($definition) to discover outgoing targets before resolving and compiling their blueprints under host authority. Core retains database execution, authorization, transactions, fencing, DDL journals, persistence and recovery. Package blueprints and approved plan checksums are detached from caller references; constructing a plan does not grant permission to execute it.

Documentation

Development

composer install
composer check

The gate covers dependency evidence, syntax, architecture, behavior/conformance, static analysis, coding standards, public manifests, governance, audit, release automation and a fresh no-dev classmap-authoritative archive consumer. CI runs PHP 8.5 on Linux. Dependabot proposes grouped weekly dependency updates.

Existing releases remain fixed; source documentation updates ship in a subsequent release. Licensed under Apache-2.0.