Download the PHP package friendsoftypo3/content-blocks without Composer

On this page you can find all versions of the php package friendsoftypo3/content-blocks. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package content-blocks

TYPO3 compatibility TYPO3 compatibility

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 v13 LTS.

URL
Repository: https://github.com/friendsoftypo3/content-blocks
Documentation: https://docs.typo3.org/p/friendsoftypo3/content-blocks/main/en-us/
TER: https://extensions.typo3.org/extension/content_blocks
Packagist: https://packagist.org/packages/friendsoftypo3/content-blocks
Examples: https://github.com/friendsoftypo3/content-blocks/tree/main/Build/content-blocks-examples

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

Installation

Require this package via composer:

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.

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:

The default URL is https://content-blocks.ddev.site/. Continue with the TYPO3 installation process.

Testing

First install the composer dependencies:

Then run unit or functional tests by executing:

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):

You can test if the syntax and references are ok with

Feedback

You can reach us on the TYPO3 Slack channel #cig-structuredcontent. We appreciate any constructive feedback.

FAQ

Q: Will the content_blocks_reg_api be further developed for TYPO3 v12?

A: The predecessor content_blocks_reg_api, which was initially created in 2020, will not be further developed for TYPO3 v12. This system extension will replace it completely. Migration steps will be provided as soon as we will reach a stable development state.

This extension has been developed entirely from scratch and has, besides the initial concept, nothing to do with the content_blocks_reg_api. The goal was to create a system extension, which combines the best concepts from Content Blocks and the Mask extension.


All versions of content-blocks with dependencies

PHP Build Version
Package Version
Requires symfony/var-exporter Version ^7.0
typo3/cms-backend Version ^13.4
typo3/cms-core Version ^13.4
typo3/cms-fluid Version ^13.4
typo3/cms-frontend Version ^13.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package friendsoftypo3/content-blocks contains the following files

Loading the files please wait ....