friendsoftypo3 / content-blocks
TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML
Installs: 217 853
Dependents: 15
Suggesters: 2
Security: 0
Stars: 87
Watchers: 12
Forks: 38
Type:typo3-cms-extension
pkg:composer/friendsoftypo3/content-blocks
Requires
- symfony/console: ^7.2
 - symfony/dependency-injection: ^7.2
 - symfony/filesystem: ^7.2
 - symfony/finder: ^7.2
 - symfony/var-exporter: ^7.2
 - symfony/yaml: ^7.2
 - typo3/cms-backend: ^13.4.19
 - typo3/cms-core: ^13.4.19
 - typo3/cms-fluid: ^13.4.19
 - typo3/cms-frontend: ^13.4.19
 
Requires (Dev)
- bnf/phpstan-psr-container: ^1.0.1
 - contentblocks/examples: @dev
 - friendsofphp/php-cs-fixer: ^3.22
 - friendsoftypo3/phpstan-typo3: ^0.9.0
 - phpstan/phpstan: ^1.10.22
 - phpstan/phpstan-phpunit: ^1.3.13
 - typo3/cms-extbase: ^13.4.19
 - typo3/cms-extensionmanager: ^13.4.19
 - typo3/cms-filelist: ^13.4.19
 - typo3/cms-install: ^13.4.19
 - typo3/cms-lowlevel: ^13.4.19
 - typo3/cms-rte-ckeditor: ^13.4.19
 - typo3/cms-tstemplate: ^13.4.19
 - typo3/cms-workspaces: ^13.4.19
 - typo3/coding-standards: ^0.8
 - typo3/testing-framework: ^9
 
Replaces
- dev-main
 - 1.3.18
 - 1.3.17
 - 1.3.16
 - 1.3.15
 - 1.3.14
 - 1.3.13
 - 1.3.12
 - 1.3.11
 - 1.3.10
 - 1.3.9
 - 1.3.8
 - 1.3.7
 - 1.3.6
 - 1.3.5
 - 1.3.4
 - 1.3.3
 - 1.3.2
 - 1.3.1
 - 1.3.0
 - 1.2.3
 - 1.2.2
 - 1.2.1
 - 1.2.0
 - 1.1.11
 - 1.1.10
 - 1.1.9
 - 1.1.8
 - 1.1.7
 - 1.1.6
 - 1.1.5
 - 1.1.4
 - 1.1.3
 - 1.1.2
 - 1.1.1
 - 1.1.0
 - 1.0.4
 - 1.0.3
 - 1.0.2
 - 1.0.1
 - 1.0.0
 - 0.8.x-dev
 - 0.8.2
 - 0.8.1
 - 0.8.0
 - 0.7.x-dev
 - 0.7.21
 - 0.7.20
 - 0.7.19
 - 0.7.18
 - 0.7.17
 - 0.7.16
 - 0.7.15
 - 0.7.14
 - 0.7.13
 - 0.7.12
 - 0.7.11
 - 0.7.10
 - 0.7.9
 - 0.7.8
 - 0.7.7
 - 0.7.6
 - 0.7.5
 - 0.7.4
 - 0.7.3
 - 0.7.2
 - 0.7.1
 - 0.7.0
 - 0.6.x-dev
 - 0.6.4
 - 0.6.3
 - 0.6.2
 - 0.6.1
 - 0.6.0
 - 0.5.2
 - 0.5.1
 - 0.5.0
 - 0.4.0
 - 0.3.0
 - 0.2.1
 - 0.2.0
 - 0.1.6
 - 0.1.5
 - 0.1.4
 - 0.1.3
 - 0.1.2
 - 0.1.1
 - 0.1.0
 - dev-fix-multiple
 - dev-lazy-load
 - dev-harden-simpletcaschema
 - dev-fix-indexes
 - dev-feature-override-file-type
 - dev-feature-file-references
 - dev-faq-section
 
This package is auto-updated.
Last update: 2025-10-25 03:17:02 UTC
README
TYPO3 CMS Content Blocks
This is the standalone repository for the TYPO3 Content Blocks project. Content Blocks provides a new API to create custom Content Types like Content Elements, Page Types or generic Record Types. Use it now in your TYPO3 v12/v13 project and eventually this will become a Core feature in TYPO3 v14 LTS.
Installation
Require this package via composer:
composer req friendsoftypo3/content-blocks
Or install it via the Extension Manager in the TYPO3 backend. The extension key
is content_blocks.
Usage
Refer to the Documentation on how to use the Content Blocks API.
Feedback and Support
You can reach us on the TYPO3 Slack
channel #cig-structuredcontent. We  appreciate any constructive feedback and
will help you, if you have any problems.
JSON Schema
Enable validation and auto-completion with JSON schema
Developing
There is a ddev setup ready to use. Ensure ddev is installed on your machine. Then run:
ddev start
ddev composer install
touch .Build/public/FIRST_INSTALL
ddev launch
The default URL is https://content-blocks.ddev.site/. Continue with the TYPO3 installation process.
Testing
First install the composer dependencies:
composer install
Then run unit or functional tests by executing:
Build/Scripts/runTests.sh -s unit
Build/Scripts/runTests.sh -s functional
Hint
Be sure to exclude the .Build/public/typo3temp directory from indexing in your IDE (e.g. PhpStorm) before starting the tests.
Rendering the documentation
When you update the documentation you can try out rendering it locally (Docker required):
make docs
You can test if the syntax and references are ok with
make test-docs
Roadmap 2024
| Milestone | Date | 
|---|---|
| Content Blocks v0.6 | 26.02 | 
| Content Blocks v0.7 | 01.04 | 
| Core patch | 01.04 - 23.04 | 
| TYPO3 v13.1 | 23.04 | 
| Review period | 23.04 - 14.06 | 
| TYPO3 v13.2 | 02.07 | 
| Content Blocks compatibility v13 | 11.07 | 
| Content Blocks (partly) Core integration | 17.09 | 
| Content Blocks 1.0 | 15.10 |