OPEN-SOURCE PAGE BUILDER FOR SYMFONY

Your pages, composed block by block.

ContentBlocks adds a visual editor to your Symfony application: your teams build and publish their pages without touching code, and your developers stay in control of the output.
A desk seen from above: screen, keyboard, tablet and notebooks

18 ready-made blocks

Titles, images, galleries, tabs, tables… all editable.

Safe drafts

Nothing goes live until you click Publish.

Multilingual

A translation workbench, with machine translation.

100% Symfony

Doctrine, Twig, Live Components. Symfony 6.4 to 8.

Everything you need to edit with confidence

The builder edits the real page, in its real theme. What you see is what your visitors will get.
Drag, drop, adjust

Drag, drop, adjust

Sections, columns and blocks rearrange with the mouse. Spacing, backgrounds and alignment are set per device.
See the blocks
Undo, redo, publish

Undo, redo, publish

Every change stays a draft. Ctrl+Z undoes it, and “Revert to published” throws the whole draft away at once.
Reuse your sections

Reuse your sections

Save a section you like to the library and insert it again on any page.
An open laptop on a wooden table

Built for the whole team

Compose your pages without waiting for a release.
Preview on desktop, tablet and mobile before you publish.
A block is a PHP class and a Twig template.
Data is validated by the Form component, and the markup stays yours.
Marketing pages leave the technical backlog.
Editing rights plug into your existing Symfony security.
  • Separate draft and published versions
  • Per-session undo history
  • Pages export and import as zip

One page, every screen

Each section can change its layout on tablet and mobile: stacked columns, reversed order, carousel.
Demo video, no sound.

Fits your stack

Component Supported versions
Symfony 6.4 LTS, 7.x, 8.x
PHP 8.2 and later (8.4 for Symfony 8)
Doctrine ORM 2.15+, 3.x
Database MySQL, PostgreSQL… and SQLite for this demo
Assets AssetMapper or Webpack Encore

Frequently asked questions

Can other visitors of this demo see my changes?
No. Every visitor works on their own copy, erased after two hours of inactivity.
Do I need to code to edit a page?
No. Code is for creating new block types; putting them together happens entirely in the builder.
What if I make a mistake?
Nothing is published until you decide so. Undo with Ctrl+Z, or go back to the published version.
Which license is ContentBlocks released under?
MIT. The code is on GitHub and the packages are on Packagist.

Your turn

This page is your draft: change a title, add a section, then publish.