PHPackages                             honestlydesign/etch-builders - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. honestlydesign/etch-builders

Active[Utility &amp; Helpers](/categories/utility)

honestlydesign/etch-builders
============================

00PHPCI passing

Pushed todayCompare

[ Source](https://github.com/honestlydesign/EtchBuildersAPI)[ Packagist](https://packagist.org/packages/honestlydesign/etch-builders)[ RSS](/packages/honestlydesign-etch-builders/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersionsUsed By (0)

honestlydesign/etch-builders
============================

[](#honestlydesignetch-builders)

Pure-PHP builder API for serializing Etch blocks, styles, loop presets, and component definitions. WordPress-free.

Install
-------

[](#install)

```
composer require honestlydesign/etch-builders

```

Why
---

[](#why)

Etch stores styling in a flat `etch_styles` option keyed by opaque style IDs, and block markup references those IDs via `attrs.styles[]`. This package provides a fluent, type-safe PHP builder that serializes blocks and styles correctly every time, with guardrails that fail at build time rather than mis-rendering at runtime.

Usage
-----

[](#usage)

```
use HonestlyDesign\EtchBuilders\Environment;
use HonestlyDesign\EtchBuilders\Support\NullStorage;
use HonestlyDesign\EtchBuilders\Support\NullMode;
use HonestlyDesign\EtchBuilders\Support\NullAssetRegistry;

// Wire the three seams once (or rely on Null* defaults for tests).
Environment::configure(new NullStorage(), new NullMode(), new NullAssetRegistry());

// Use the builders (full API lands in Phase 2; Phase 1 ships the seam only).
```

Status
------

[](#status)

**Phase 1 (this release):** scaffold + three-interface seam + `Environment` + pure-PHP `Json`/`Key`/`Esc` helpers + `Null*` defaults. No block builders yet.

License
-------

[](#license)

MIT

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance65

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity8

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/31832302?v=4)[Woji Piskorz](/maintainers/wojtekpiskorz)[@wojtekpiskorz](https://github.com/wojtekpiskorz)

---

Top Contributors

[![wojtekpiskorz](https://avatars.githubusercontent.com/u/31832302?v=4)](https://github.com/wojtekpiskorz "wojtekpiskorz (5 commits)")

### Embed Badge

![Health badge](/badges/honestlydesign-etch-builders/health.svg)

```
[![Health](https://phpackages.com/badges/honestlydesign-etch-builders/health.svg)](https://phpackages.com/packages/honestlydesign-etch-builders)
```

PHPackages © 2026

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