Search by

markup-carve / tempest-carve

dereuromark

Carve rendering for Tempest applications.

Package info

github.com/markup-carve/tempest-carve

Homepage

pkg:composer/markup-carve/tempest-carve

Fund package maintenance!

dereuromark

Statistics

Installs: 38

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.1.2 2026-10-23 12:57 UTC

This package is auto-updated.

Last update: 2026-10-23 13:05:16 UTC


README

CI PHP Tempest PHPStan License

Render Carve, a lightweight markup language for documents and the web, in Tempest views with a safe-by-default component.

View the live demo →

composer require markup-carve/tempest-carve
php tempest discovery:generate --no-interaction
<x-carve :content="$document" />

The renderer also supports named configurations, per-call profiles, four output formats, diagnostics, dependency-aware includes, caching, and test assertions. It lints, formats and imports Markdown or HTML, and ships the console commands carve:render, carve:lint, carve:fmt and carve:convert, a ValidCarve validation rule, a CarveContent model property type, and an optional code highlighter.

Tempest discovers the component and its CarveRenderer initializer from the package. See Usage, Configuration, Design, and Security for details.

Related

tempest-highlight-carve adds Carve as a language to tempest/highlight, so a .crv source listing can be syntax-highlighted. That is the complement to this package: this one renders Carve to output, that one colors the source. With both installed, the tempest_highlight extension highlights Carve fences inside rendered documents.