PHPackages                             kumwe/producer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. kumwe/producer

ActiveLibrary

kumwe/producer
==============

The PHP producer for Kumwe Studio: receives canonical Studio compositions and makes them real - validated wire handling, semantic server-side rendering, and design-token CSS - while your application keeps all authority and storage.

v0.1.0(today)014↑2685.7%MITPHPPHP &gt;=8.1CI passing

Since Aug 28Pushed todayCompare

[ Source](https://github.com/kumwe/producer)[ Packagist](https://packagist.org/packages/kumwe/producer)[ Docs](https://github.com/kumwe/producer)[ RSS](/packages/kumwe-producer/feed)WikiDiscussions main Synced today

READMEChangelog (1)DependenciesVersions (3)Used By (0)

Kumwe Producer
==============

[](#kumwe-producer)

**Studio designs it. Producer makes it real. Your application owns it.**

Producer is the PHP realization layer for [Kumwe Studio](https://github.com/kumwe/studio), the schema-aware visual composition platform. Studio hands your application a canonical, portable JSON composition — never markup, never styles, never code. Producer is what turns that composition into reality on a PHP host:

- **Wire handling** — parses and validates Studio's request envelopes, routes the closed operation set, and answers with strict canonical JSON and the stable twelve-category error taxonomy.
- **Rendering** — turns a published composition into semantic, fully escaped HTML with working no-JavaScript fallbacks for the complete Studio block catalog.
- **Stylesheets** — generates the static CSS a design's tokens and layout vocabulary imply; nothing is computed per request and nothing is inlined.
- **Contract proof** — vendors the Studio corpus at one exact pinned release, digest-verifies it, and replays the published conformance vectors, so what this library claims is what it proves.

Producer deliberately contains **no authority, no storage, no Node.js, and no render-time code generation** — your application keeps authentication, authorization, persistence, and templates, and implements Producer's small port interfaces with its own services. The full rules live in the [charter](CHARTER.md); the division of labour with Studio and with host applications is recorded in [`docs/host-agreement.md`](docs/host-agreement.md).

The pipeline
------------

[](#the-pipeline)

StageOwnerWhat happensDesign**Studio** (browser)An author composes typed, theme-bounded blocks; Studio emits canonical JSONWire**Producer**Envelope validated, operation routed, host answers through its own portsAuthority and storage**Your application**Authorization, revisions, audit, persistence — all yoursRealization**Producer**Published composition → semantic HTML + generated stylesheetDelivery**Your application**Embeds the render result in its own templates and serves Studio's prebuilt assetsHow it is built
---------------

[](#how-it-is-built)

The library is layered with one dependency direction — Canonical JSON, the schema-property profile, the error taxonomy, the wire layer, rendering, stylesheets — each proven by replaying the vendored Studio conformance corpora before the next layer consumes it. The [engineering standard](docs/engineering-standard.md) states the architecture, code, testing, and documentation rules in full: strict types, final classes, injected authority, centralized escaping, deterministic output, typed refusals with stable codes, and a suite that proves intended outcomes only — the conformance corpora are the spine, negative paths are first-class, and frivolous tests are forbidden.

Producer is also written to be ported. The contract is language-neutral JSON, so a Python or TypeScript sibling implements the same corpora and claims conformance the same way; the [porting guide](docs/porting-guide.md) gives an implementer the order, the boundaries, and the subtleties, so a port needs this repository and nothing else.

Status
------

[](#status)

Founding stage. The contract is vendored from a pre-release Studio pin and the surface below is under active construction; nothing here is a supported release yet. See [`docs/roadmap.md`](docs/roadmap.md) for what exists, what is proven, and what is next.

Requirements
------------

[](#requirements)

PHP 8.1 or newer with `ext-json` and `ext-mbstring`. No runtime Composer dependencies.

Development
-----------

[](#development)

```
composer check   # lint, contract digest verification, dependency-free test suite
```

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance100

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

0d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a25ae1ee33c121aba9fc335e04e80af2aeb4b3f415850d7170a98300b74bafc8?d=identicon)[llewellyn](/maintainers/llewellyn)

---

Top Contributors

[![Llewellynvdm](https://avatars.githubusercontent.com/u/5607939?v=4)](https://github.com/Llewellynvdm "Llewellynvdm (14 commits)")

### Embed Badge

![Health badge](/badges/kumwe-producer/health.svg)

```
[![Health](https://phpackages.com/badges/kumwe-producer/health.svg)](https://phpackages.com/packages/kumwe-producer)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
