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: 102

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 1

0.1.3 2026-11-12 11:09 UTC

This package is auto-updated.

Last update: 2026-11-29 14:58:57 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 →

Install the development branch from Git. The package pins its Carve engine to a specific commit on carve-php's main branch. Carve 0.1 users stay on the 0.1 branch.

composer config repositories.tempest-carve vcs https://github.com/markup-carve/tempest-carve.git
composer config repositories.carve-php vcs https://github.com/markup-carve/carve-php.git
composer require markup-carve/tempest-carve:dev-main
php tempest discovery:generate --no-interaction
<x-carve :content="$document" />

This branch uses Carve 0.2 from a pinned carve-php development commit. The renderer supports named configurations, profiles, diagnostics, includes, caching, lint, formatting, HTML import, validation, and a model property type. Markdown, text, and ANSI service methods use Carve's built-in writers. Markdown import uses the engine importer. No registry release is required to install the pinned engine commit.

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.