markup-carve / symfony-carve
Symfony bundle to render Carve markup to HTML via carve-php.
Package info
github.com/markup-carve/symfony-carve
Type:symfony-bundle
pkg:composer/markup-carve/symfony-carve
Fund package maintenance!
0.1.7
2026-11-12 10:47 UTC
Requires
- php: ^8.2
- markup-carve/carve-php: ^0.1.17
- psr/log: ^1.1 || ^2.0 || ^3.0
- symfony/cache-contracts: ^2.5 || ^3.0
- symfony/config: ^6.4 || ^7.0
- symfony/console: ^6.4 || ^7.0
- symfony/dependency-injection: ^6.4 || ^7.0
- symfony/http-kernel: ^6.4 || ^7.0
Requires (Dev)
- php-collective/code-sniffer: ^0.6.0
- phpstan/phpstan: ^2.0
- phpunit/phpunit: ^11.0 || ^12.0 || ^13.0
- symfony/cache: ^6.4 || ^7.0
- symfony/framework-bundle: ^6.4 || ^7.0
- symfony/twig-bundle: ^6.4 || ^7.0
- symfony/validator: ^6.4 || ^7.0
- symfony/yaml: ^6.4 || ^7.0
- twig/twig: ^3.0
Suggests
- symfony/cache: To cache rendered HTML through a cache pool
- symfony/twig-bundle: To use the {{ value|carve }} Twig filter and carve() function
- symfony/validator: To use the ValidCarve constraint
- symfony/yaml: To read YAML frontmatter through RenderedCarve::meta()
Provides
None
Conflicts
None
Replaces
None
README
Symfony bundle that renders Carve through carve-php 0.1.17 or later. Twig filters, services, and console commands share the same renderer. Read the Carve documentation for the language syntax.
Install
composer require markup-carve/symfony-carve
Usage
{{ '# Hello'|carve }}