---
title: "Commands list"
manual: "TYPO3 REST API"
version: "5.0"
permalink: "https://docs.typo3.org/permalink/sourcebroker/t3api:development-commands-list@5.0"
source: "Miscellaneous/Development/CommandsList/Index.rst"
rendered: "2026-12-02T10:02:23+00:00"
---

# Commands list {#development-commands-list}

Below is a list of commands that you can use in the development process of ext:t3api.

-   [ddev cache-flush](https://docs.typo3.org/permalink/sourcebroker/t3api:bash-ddev-cache-flush@5.0)
-   [ddev ci [T3_VERSION|all] [PHP_VERSION] [lowest]](https://docs.typo3.org/permalink/sourcebroker/t3api:bash-ddev-ci-t3-version-all-php-version-lowest@5.0)
-   [ddev data [export|import] [T3_VERSION]](https://docs.typo3.org/permalink/sourcebroker/t3api:bash-ddev-data-export-import-t3-version@5.0)
-   [ddev docs [watch|build|ci]](https://docs.typo3.org/permalink/sourcebroker/t3api:bash-ddev-docs-watch-build-ci@5.0)
-   [ddev fix](https://docs.typo3.org/permalink/sourcebroker/t3api:bash-ddev-fix@5.0)
-   [ddev install [T3_VERSION|all]](https://docs.typo3.org/permalink/sourcebroker/t3api:bash-ddev-install-t3-version-all@5.0)
-   [ddev next [major|minor|patch]](https://docs.typo3.org/permalink/sourcebroker/t3api:bash-ddev-next-major-minor-patch@5.0)

## `ddev cache-flush` {#development-commands-list-ddev-cache-flush}

This command will run `typo3 cache:flush` for all active TYPO3
integration testing instances.

## `ddev ci [T3_VERSION|all] [PHP_VERSION] [lowest]` {#development-commands-list-ddev-ci}

If called without any arguments, this command will run multiple commands
for testing and linting.

-   `ddev composer ci` which will run:

    -   `ci:composer:normalize`
    -   `ci:yaml:lint`
    -   `ci:json:lint`
    -   `ci:php:lint`
    -   `ci:php:cs-fixer`
    -   `ci:php:stan`
    -   `ci:php:rector`
    -   `ci:tests:unit`
    -   `ci:tests:functional`
    -   `ci:tests:postman`
-   `ddev docs ci` which will check if docs can be rendered without problems.

If called with arguments like `ddev ci [T3_VERSION] [PHP_VERSION] [lowest]`
this command will restart ddev, set required PHP, install required version of TYPO3
with optional composer option `--prefer-lowest` and then run `ddev ci` on it.

When the argument is only `all`, then this command will run matrix tests for
all supported TYPO3, PHP, COMPOSER. The same command is run for each TYPO3, PHP, COMPOSER
combination in matrix tests on github actions.

Examples:

```bash
ddev ci
ddev ci 14 8.4 lowest
ddev ci all
```

You can use this command to fast switch with development to whatever TYPO3/PHP
version you like because after ci tests it does not return to previous TYPO3/PHP.

## `ddev data [export|import] [T3_VERSION]` {#development-commands-list-ddev-data}

This command will export or import database/files of specific testing instance into
folder `.ddev/test/impexp/`. It uses the TYPO3 core extension impexp.
These exported files are later used by command `ddev install [T3_VERSION]`.
When you do new features or write postman tests this is very likely that you will
need to do changes to database/files and commit this state to git.
This command is just for that reason.

All TYPO3 testing instances are using the same exported files. This means that
there is no much difference if you make `ddev data export 14` or
`ddev data export 13`. Important is only that you do export from the
testing instance you actually modified.

## `ddev docs [watch|build|ci]` {#development-commands-list-ddev-docs}

-   **build**

    will build docs into the folder `Documentation-GENERATED-temp`
    You can browse it for example on PHPStorm "open in browser" option.

-   **watch**

    this command will run hot reload for documentation.

-   **ci**

    this command will test if docs are able to render correctly.
    Used in [ddev ci \[T3_VERSION|all\] \[PHP_VERSION\] \[lowest\]](https://docs.typo3.org/permalink/sourcebroker/t3api:development-commands-list-ddev-ci@5.0) command.

## `ddev fix` {#development-commands-list-ddev-fix}

This command will run all possible automated fixes: Rector, PHP CS Fixer and composer normalization.

## `ddev install [T3_VERSION|all]` {#development-commands-list-ddev-install}

This command will install specific (or all) integration testing instances
of TYPO3 in folder `/.test/`. List of supported TYPO3 versions is defined
in file `.ddev/docker-compose.web.yaml` in variable `TYPO3_VERSIONS`.
Integration testing instances are available under url `https://[T3_VERSION].t3api.ddev.site`.
You can also open [https://t3api.ddev.site](https://t3api.ddev.site) to see list of all supported testing
instances for given t3api version.

Example:

```bash
ddev install
ddev install 14
ddev install all
```

## `ddev next [major|minor|patch]` {#development-commands-list-ddev-next}

This command helps to release the next version of the extension. The default branch can be protected (changes only
through pull requests), so the version files are changed in a pull request and the command is run twice.

It does several checks first:

1.  Checks if you are on default branch.
1.  Checks if you are up to date with remote default branch.
1.  Checks if you do not have any not pushed changes to remote.
1.  Checks validity of last tag.
1.  Checks if the version in [`/ext_emconf.php`](https://docs.typo3.org/m/typo3/reference-coreapi/13.4/en-us/ExtensionArchitecture/FileStructure/ExtEmconf.html#file-extension-ext-emconf-php) is the last tag or the next version - otherwise you passed another
    version type than in the first run.

The next version is computed from the last tag, so both runs compute the same version.

**First run** updates the version in:

-   [`/ext_emconf.php`](https://docs.typo3.org/m/typo3/reference-coreapi/13.4/en-us/ExtensionArchitecture/FileStructure/ExtEmconf.html#file-extension-ext-emconf-php)
-   `/composer.json`
-   `/Documentation/guides.xml` (`release` \- full version, `version` \- major and minor)

and outputs a command which pushes them to a new branch:

```bash
zsh -e -c "git switch -c 'version-5.1.0'; git add Documentation/guides.xml ext_emconf.php composer.json; git commit -m 'Tag version 5.1.0'; git push -u origin 'version-5.1.0'"
```

Open a pull request from this branch to the default branch and merge it.

**Second run** \- on the updated default branch (`git pull`), with the same version type. The version files are up
to date, so it outputs a command which pushes the tag only:

```bash
zsh -e -c "git tag -a '5.1.0' -m 'Version 5.1.0' -s; git push origin '5.1.0'"
```

Pushing the tag starts the release workflow (GitHub release and publishing to TER).

When the version files are already updated in the branch merged to the default branch (e.g. a release branch), the first
run outputs the tag command right away.
