ddev Configuration and commands

ddev Commands

Only self added commands are listed here. For a full command reference for delivered ddev commands take a look at CLI usage.

Clear cache

ddev cache flush
ddev cache flushall

Flush clears the TYPO3 cache, as ist would be called inside the backend, flushing all caches. Flushall removes all assets and temporary created files, before the TYPO3 cache flush command is called.

Codefixer

ddev codefix

Fixes Code as defined in .editorconfig file. Calls the PHP Code Style fixer for formatting all PHP code fitting PSR12 Coding standards.

Docs

ddev docs html
ddev docs pdf

Creates the documentation for the project as HTML or PDF. A link to the generated documentation is given at the end of the process.

Newce

ddev newce

Creates a new content element by copying an existing one. This command is interactive and will ask you some questions to create all necessary files correctly.

Setup

ddev setup

Mostly not needed to be called, command is executed during start. Does setup for composer related namespaces and debug servers.