tildbj / typo3-tco
Helpful library for the table configuration array (tca)
Installs: 7 516
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
Open Issues: 0
Requires
- php: ^7.0 || ^7.1 || ^7.2 || ^7.3 || ^7.4
- typo3/cms-core: ^8.7 || ^9.5 || ^10.0
Requires (Dev)
- phpunit/php-code-coverage: ^5.2
- phpunit/phpunit: ^6
- squizlabs/php_codesniffer: ^3.0
- symfony/var-dumper: ^3.3
Replaces
- typo3-ter/tco: 0.3.0
README
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