Skip to content

v1.0.0

Choose a tag to compare

@Klehm Klehm released this 23 Sep 12:39
· 146 commits to master since this release

ContentBlocks 1.0 is the first stable release of a page builder that lives inside your Symfony app. You bring your entities, routes and auth, and it gives editors a builder over a live preview of your real page.

The builder

composer require klehm/content-blocks klehm/content-blocks-kit
composer require klehm/content-blocks-i18n   # optional: translated content

Start with the quick start.

Three packages

  • klehm/content-blocks: the core.
    • Content areas made of sections, columns and blocks, attached to any entity.
    • The builder, with draft and publish, undo and redo, copy and paste, a navigator, per-viewport display and order, section templates, and export and import.
  • klehm/content-blocks-kit: 19 ready-made blocks, styled by one stylesheet with no CSS framework and themed through seven CSS custom properties.
  • klehm/content-blocks-i18n: translated content.
    • One layout, a value per language, with per-field fallback and outdated detection.
    • A translation workbench with a live preview.
    • A seam for machine translation; no engine ships with the package.

What 1.0 promises

Everything the backward compatibility page lists is stable until 2.0. That covers the 38 interfaces, the form types, the Twig functions and blocks, the configuration, the route names, the cb:* events and the database tables. A 1.x release adds, fixes and deprecates, and removes nothing.

Proven in production

ContentBlocks is tested and used daily on four production sites, each set up differently: several Symfony versions, the Sylius Stack, Sylius 1.x, and plain Symfony.

  • 1,551 PHPUnit tests, 589 Vitest tests and 202 Playwright tests.
  • CI covers PHP 8.2 to 8.4 and Symfony 6.4, 7 and 8, on MySQL and PostgreSQL, plus a lowest-dependencies run.
  • Works under FrankenPHP worker mode, with a check in CI that no state carries from one request to the next.

Coming from a beta or a candidate: upgrade guide. Changelogs: core · kit · i18n.