Skip to the content
MasiliaLabs

Package · Front office

Pages made of blocks.

The front-office engine: a content model for templates, themes that extend each other, field renderers, menus, and the creation of whole sites.

composer require masilia/ibexa-blocks

What it does

masilia/ibexa-blocks

A page holds an ordered list of block contents, and each block is rendered by a Twig template named after its content type. A theme is only assets and templates: write the ones that differ, inherit the rest.

The package creates the content model of a site (layout, site, home page, page), the tree of a new site with a folder of blocks under every page, and the commands to scaffold themes and check them.

Install and use

A few commands

masilia/ibexa-blocks
# a theme and a site, from the command line
 composer require masilia/ibexa-blocks
 php bin/console masilia:blocks:model:install
 [OK] 5 change(s) made.
 php bin/console masilia:blocks:theme:create acme --standalone
 php bin/console masilia:blocks:theme:check acme
 0 error(s), 0 notice(s).

Use it with the rest of the stack

Every Masilia package works on its own and better together.

composer require masilia/ibexa-blocks