n-ramos / celebrimbor-bundle
Symfony bundle connecting a Doctrine entity to the Celebrimbor visual page builder, with interface contracts and a Doctrine trait for the model, a Form type wired to Symfony UX/Stimulus, and a Twig per-block preview renderer.
Package info
github.com/n-ramos/celebrimbor-bundle
Type:symfony-bundle
pkg:composer/n-ramos/celebrimbor-bundle
v0.1.0
2026-06-09 15:29 UTC
Requires
- php: ^8.2
- symfony/config: ^6.4|^7.0
- symfony/dependency-injection: ^6.4|^7.0
- symfony/http-kernel: ^6.4|^7.0
Requires (Dev)
- doctrine/orm: ^2.19|^3.0
- phpunit/phpunit: ^11.0
- symfony/form: ^6.4|^7.0
- symfony/framework-bundle: ^6.4|^7.0
- symfony/options-resolver: ^6.4|^7.0
- symfony/phpunit-bridge: ^6.4|^7.0
- symfony/twig-bundle: ^6.4|^7.0
- symfony/ux-twig-component: ^2.0
- symfony/validator: ^6.4|^7.0
- twig/twig: ^3.8
Suggests
- doctrine/orm: To use the InteractsWithPageBuilderContent trait that maps the document column.
- symfony/form: To use the PageBuilderType form field.
- symfony/stimulus-bundle: To auto-register the @n-ramos/celebrimbor-symfony Stimulus controller via AssetMapper/importmap.
- symfony/twig-bundle: Required host-side for the preview renderer and form theme (provides the twig service).
- symfony/ux-twig-component: To use the <twig:Celebrimbor:PageBuilder> component outside a form.
- symfony/validator: To use the ValidPageDocument constraint guarding stored documents.
- twig/twig: To use the CelebrimborRenderer per-block Twig preview.