PHPackages                             infabo/typo3api - 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. [API Development](/categories/api)
4. /
5. infabo/typo3api

ActiveTypo3-cms-extension[API Development](/categories/api)

infabo/typo3api
===============

4.0.0(1y ago)03.7k—3.3%2[2 PRs](https://github.com/infabo/typo3api/pulls)MITPHPPHP ^8.1

Since Jul 15Pushed 1w agoCompare

[ Source](https://github.com/infabo/typo3api)[ Packagist](https://packagist.org/packages/infabo/typo3api)[ RSS](/packages/infabo-typo3api/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (27)Versions (53)Used By (0)

[![Build Status](https://camo.githubusercontent.com/20ffadd9853e65774e6ee104fe4e9b10c9648798149620b86c975ed53b47d37c/68747470733a2f2f7472617669732d63692e636f6d2f696e6661626f2f7479706f336170692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Nemo64/typo3api)[![Latest Stable Version](https://camo.githubusercontent.com/d327115d5db02339083572930f39ad8402ffebc9772f15a53fe09834dd66ab1f/68747470733a2f2f706f7365722e707567782e6f72672f696e6661626f2f7479706f336170692f762f737461626c65)](https://packagist.org/packages/infabo/typo3api)[![Total Downloads](https://camo.githubusercontent.com/6daf77dc05b15692877d5730b22ca2d3d547c2ad732574555d09ada92d4e7a9e/68747470733a2f2f706f7365722e707567782e6f72672f696e6661626f2f7479706f336170692f646f776e6c6f616473)](https://packagist.org/packages/infabo/typo3api)[![Monthly Downloads](https://camo.githubusercontent.com/43f91392354aa2e48e6ba92b98263b8e24d61b53762123dc276b02944f155480/68747470733a2f2f706f7365722e707567782e6f72672f696e6661626f2f7479706f336170692f642f6d6f6e74686c79)](https://packagist.org/packages/infabo/typo3api)[![License](https://camo.githubusercontent.com/bd54e4214566b6e24080e8f258213be872a4d37325bbec964f8d5a5bc4cd104e/68747470733a2f2f706f7365722e707567782e6f72672f696e6661626f2f7479706f336170692f6c6963656e7365)](https://packagist.org/packages/infabo/typo3api)

API for easier TYPO3 TCA handling
=================================

[](#api-for-easier-typo3-tca-handling)

This extension abstracts some of the array configuration necessary to get things done in TYPO3. This will result in faster, easier and less annoying workflows.

how to install
==============

[](#how-to-install)

Use `composer require infabo/typo3api` to install this extension. For anyone not using composer: make your project use composer first. Seriously, this extension is to ease your workflow but if you are still using the none-composer mode you have bigger workflow problems.

how to use
==========

[](#how-to-use)

Replace your TCA array with the `Typo3Api\Builder\TableBuilder`.

TableBuilder
------------

[](#tablebuilder)

Create the TCA file in your extension like `Configuration/TCA/tx_ext_person.php`. Then, instead of returning the TCA array, you can use the TableBuilder.

```
\Typo3Api\Builder\TableBuilder::create('tx_ext_person')
    ->configure(new \Typo3Api\Tca\LanguageConfiguration())
    ->configure(new \Typo3Api\Tca\EnableColumnsConfiguration())
    ->configure(new \Typo3Api\Tca\SortingConfiguration())

    // configure cache clearing so you don't need to provide cache clear capabilities to your backend users
    ->configure(new \Typo3Api\Tca\CacheTagConfiguration('tx_ext_person_###UID###'))
    ->configure(new \Typo3Api\Tca\CacheTagConfiguration('tx_ext_person'))

    // the actual fields
    ->configure(new \Typo3Api\Tca\Field\InputField('first_name', ['required' => true, 'localize' => false]))
    ->configure(new \Typo3Api\Tca\Field\InputField('last_name', ['required' => true, 'localize' => false]))
    ->configure(new \Typo3Api\Tca\Field\DateField('birthday'))
    ->configure(new \Typo3Api\Tca\Field\EmailField('email'))
    ->configure(new \Typo3Api\Tca\Field\ImageField('image', ['cropVariants' => ['default' => ['1:1']]]))

    // easily allow multiple phone numbers
    ->configure(new \Typo3Api\Tca\Field\InlineRelationField('phone_numbers', [
        'foreign_table' => \Typo3Api\Builder\TableBuilder::create('tx_ext_person_phone')
            ->configure(new \Typo3Api\Tca\SortingConfiguration())
            ->configure(new \Typo3Api\Tca\Field\SelectField('type', ['values' => ['business', 'private', 'other']]))
            ->configure(new \Typo3Api\Tca\Field\PhoneField('value'))
    ]))

    // use or create complex configurations and reuse them across tables
    ->configure(new \Typo3Api\Tca\Util\Address('Address'))

    // create new tabs (aka --div--) on the fly
    ->configureInTab('Notice', new \Typo3Api\Tca\Field\TextareaField('notice'))
;
```

That is all. You can now start using the tx\_ext\_person table.

ContentElement
--------------

[](#contentelement)

To Create a content element, use the TableBuilder inside `Configuration/TCA/Override/tt_content.php`.

```
\Typo3Api\Builder\TableBuilder::create('tt_content', 'carousel')
    ->configure(new \Typo3Api\Tca\ContentElementConfiguration())
    // add more fields as you like
;
```

Or with more options.

```
\Typo3Api\Builder\TableBuilder::create('tt_content', 'quote')
    ->configure(new \Typo3Api\Tca\ContentElementConfiguration([
        'name' => 'Quote element',
        'description' => 'Tell what other peaple are saying',
        'icon' => 'content-quote',
        'headline' => 'hidden', // adds only the headline field
    ]))
;
```

run the unit tests
------------------

[](#run-the-unit-tests)

run `vendor/bin/phpunit`

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance71

Regular maintenance activity

Popularity23

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 74% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~66 days

Recently: every ~7 days

Total

50

Last Release

9d ago

Major Versions

v1.3.0 → v2.0.0-RC12018-06-24

v2.0.1 → 3.0.02020-04-28

3.2.12 → 4.0.0-rc.12023-01-12

4.0.0 → 5.0.0-rc.12026-05-18

PHP version history (6 changes)v1.0.0PHP ^7.0

3.0.1PHP ^7

3.2.0PHP ^7.4

4.0.0-rc.1PHP ^8.0

4.0.0-rc.7PHP ^8.1

5.0.0-rc.1PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/ab92c7f3994c2ebaacb2f69e1992d1c02b8c36cf14798e1af6d0aeb6e8e66d65?d=identicon)[infabo](/maintainers/infabo)

---

Top Contributors

[![Nemo64](https://avatars.githubusercontent.com/u/1749936?v=4)](https://github.com/Nemo64 "Nemo64 (250 commits)")[![infabo](https://avatars.githubusercontent.com/u/3999104?v=4)](https://github.com/infabo "infabo (85 commits)")[![kaywalker](https://avatars.githubusercontent.com/u/1043613?v=4)](https://github.com/kaywalker "kaywalker (1 commits)")[![knusperpixel](https://avatars.githubusercontent.com/u/1455404?v=4)](https://github.com/knusperpixel "knusperpixel (1 commits)")[![mrvndss](https://avatars.githubusercontent.com/u/25771312?v=4)](https://github.com/mrvndss "mrvndss (1 commits)")

---

Tags

apitypo3TCATSconfigext\_tables.phpext\_localconf.php

###  Code Quality

Code StyleECS

### Embed Badge

![Health badge](/badges/infabo-typo3api/health.svg)

```
[![Health](https://phpackages.com/badges/infabo-typo3api/health.svg)](https://phpackages.com/packages/infabo-typo3api)
```

###  Alternatives

[pagemachine/typo3-formlog

Form log for TYPO3

23238.6k8](/packages/pagemachine-typo3-formlog)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k53](/packages/friendsoftypo3-content-blocks)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M738](/packages/sylius-sylius)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

611.1M8](/packages/netresearch-rte-ckeditor-image)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[eliashaeussler/typo3-warming

Warming - Warms up Frontend caches based on an XML sitemap. Cache warmup can be triggered via TYPO3 backend or using a console command. Supports multiple languages and custom crawler implementations.

22260.2k](/packages/eliashaeussler-typo3-warming)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
