tildbj/typo3-tco

Helpful library for the table configuration array (tca)

This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.

Installs: 7 516

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 1

Open Issues: 0

pkg:composer/tildbj/typo3-tco

0.3.0 2020-11-25 13:06 UTC

This package is auto-updated.

Last update: 2025-08-25 23:04:39 UTC


README

Build Status codecov

Helpful library for creating TCA's in TYPO3

Installation

via composer

The recommended way to install tco is by using composer. Get tco by running

composer require tildbj/typo3-tco

via Extensionmanager:

Just install tco via extensionmanager. There are no more steps required.

Guide

Create column:

$tcaColumn = [
    'columnName' => (new \TildBJ\Tco\Input('LLL:ext:my_ext/Resources/Private/Language/locallang_db.xlf:columnName'))
        ->setRequired(false)
        ->toArray(),
    'columnName2' => (new \TildBJ\Tco\Image('LLL:ext:my_ext/Resources/Private/Language/locallang_db.xlf:columnName2', 'columnName2'))
        ->enableLink()
        ->setMaxItems(1)
        ->toArray(),
]

Need Support?

Feel free to ask your questions on Slack