PHPackages                             nemo64/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. nemo64/typo3api

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

nemo64/typo3api
===============

v3.0.7(12mo ago)018.3k↓33.3%6[16 issues](https://github.com/Nemo64/typo3api/issues)[2 PRs](https://github.com/Nemo64/typo3api/pulls)MITPHPPHP ^8.0CI passing

Since Jul 15Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/Nemo64/typo3api)[ Packagist](https://packagist.org/packages/nemo64/typo3api)[ RSS](/packages/nemo64-typo3api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (14)Versions (36)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/65091978af6a14265cb949a75258abd2900688daaa6733466b284ac5dec54e09/68747470733a2f2f706f7365722e707567782e6f72672f6e656d6f36342f7479706f336170692f762f737461626c65)](https://packagist.org/packages/nemo64/typo3api)[![Total Downloads](https://camo.githubusercontent.com/4ce39cc1aa25f4b76c49aaf4eaf9eb1753bdf5ee9321799b5fa22965a39a216b/68747470733a2f2f706f7365722e707567782e6f72672f6e656d6f36342f7479706f336170692f646f776e6c6f616473)](https://packagist.org/packages/nemo64/typo3api)[![Monthly Downloads](https://camo.githubusercontent.com/1b7be417021c539a253a2f75b3f61f8d52512897dfd9e0e33bc2e55959804707/68747470733a2f2f706f7365722e707567782e6f72672f6e656d6f36342f7479706f336170692f642f6d6f6e74686c79)](https://packagist.org/packages/nemo64/typo3api)[![License](https://camo.githubusercontent.com/6349d8b5310b3c44bd9274561c4c4f99e475f75f1898de85a75427c1f6e3bc10/68747470733a2f2f706f7365722e707567782e6f72672f6e656d6f36342f7479706f336170692f6c6963656e7365)](https://packagist.org/packages/nemo64/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

50

—

FairBetter than 96% of packages

Maintenance61

Regular maintenance activity

Popularity28

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 72.9% 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 ~102 days

Recently: every ~73 days

Total

29

Last Release

364d ago

Major Versions

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

v2.0.3 → v3.0.02024-03-07

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

v2.0.2PHP &gt;=7.2 &lt;9

v3.0.0PHP ^8.0

### Community

Maintainers

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

---

Top Contributors

[![Nemo64](https://avatars.githubusercontent.com/u/1749936?v=4)](https://github.com/Nemo64 "Nemo64 (256 commits)")[![infabo](https://avatars.githubusercontent.com/u/3999104?v=4)](https://github.com/infabo "infabo (62 commits)")[![hackerman26](https://avatars.githubusercontent.com/u/55436390?v=4)](https://github.com/hackerman26 "hackerman26 (16 commits)")[![kaywalker](https://avatars.githubusercontent.com/u/1043613?v=4)](https://github.com/kaywalker "kaywalker (9 commits)")[![halbkreativ](https://avatars.githubusercontent.com/u/6579458?v=4)](https://github.com/halbkreativ "halbkreativ (6 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/nemo64-typo3api/health.svg)

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

###  Alternatives

[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[typo3/testing-framework

The TYPO3 testing framework provides base classes for unit, functional and acceptance testing.

675.0M775](/packages/typo3-testing-framework)[pagemachine/typo3-formlog

Form log for TYPO3

23225.3k6](/packages/pagemachine-typo3-formlog)[aimeos/aimeos-typo3

Professional, full-featured and high performance TYPO3 e-commerce extension for online shops and complex B2B projects

1.5k91.2k4](/packages/aimeos-aimeos-typo3)[leuchtfeuer/secure-downloads

"Secure Download": Apply TYPO3 access rights to ALL file assets (PDFs, TGZs or JPGs etc. - configurable) - protect them from direct access.

22234.7k1](/packages/leuchtfeuer-secure-downloads)[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.

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

PHPackages © 2026

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