PHPackages                             netzbewegung/nb-headless-content-blocks - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. netzbewegung/nb-headless-content-blocks

ActiveTypo3-cms-extension[Parsing &amp; Serialization](/categories/parsing)

netzbewegung/nb-headless-content-blocks
=======================================

Connects together EXT:headless and EXT:content\_block

0.0.21(6mo ago)42.8k—8.3%2[2 issues](https://github.com/Netzbewegung-Backend/nb_headless_content_blocks/issues)GPL-2.0-or-laterPHP

Since Dec 6Pushed 5mo ago4 watchersCompare

[ Source](https://github.com/Netzbewegung-Backend/nb_headless_content_blocks)[ Packagist](https://packagist.org/packages/netzbewegung/nb-headless-content-blocks)[ RSS](/packages/netzbewegung-nb-headless-content-blocks/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (23)Used By (0)

[![TYPO3 compatibility](https://camo.githubusercontent.com/fc47d6edb7035908e2db102ae2c05d22110b6681c21fe7ed9677bc454dbad775/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5459504f332d31332e342d6666383730303f6d61784167653d33363030266c6f676f3d7479706f33)](https://get.typo3.org/)

TYPO3 Extension EXT:nb\_headless\_content\_blocks
=================================================

[](#typo3-extension-extnb_headless_content_blocks)

Connects together EXT:headless (friendsoftypo3/headless) and EXT:content\_blocks (friendsoftypo3/content-blocks)

TYPO3 Installation
------------------

[](#typo3-installation)

Install extension using composer

`composer require netzbewegung/nb_headless_content_blocks`

and then, include Site Set "Headless Content Blocks", and you are ready to go.

Features
--------

[](#features)

- Converts all complex objects into an array without extra configuration
- Richtext fields are automaticly converted via `parseFunc($value, null, '< lib.parseFunc_RTE')`
- Additional thumbnails can be created via headless.php per Content Block
- Support for EXT:container

Custom Configuration per Content Block Type
-------------------------------------------

[](#custom-configuration-per-content-block-type)

Create headless.php inside each Content Block.

your\_extension/ContentBlocks/ContentElements/your-content-block-element/headless.php

```
