Prerequisites to start with TYPO3

Before you start working on this tutorial, you should have DDEV installed on your computer.

This TYPO3 tutorial assumes that the reader has some basic knowledge in the following areas:

Composer cheat sheet

Composer is a powerful tool for managing dependencies in PHP projects, including TYPO3. Here you will find an overview of the four most important commands with a simple explanation of what they do.

composer require

composer require vendor/extension-name
Copied!

It installs a new package (e.g. a TYPO3 extension) and automatically adds it to your composer.json. Composer determines the appropriate version based on your current configuration. All required dependencies for the package are also installed.

composer remove

composer remove vendor/extension-name
Copied!

Uninstalls an existing package from your project. Removes the entry from composer.json and deletes related files from the vendor folder. Removes unused dependencies that were only required fro the removed package.

composer install

composer install
Copied!

It installs exactly the versions specified in the composer.lock file.

composer update

composer update
Copied!

It updates all installed packages to their latest version, as allowed by the version constraints in composer.json. The composer.lock file, which records the exact package versions, is updated. Downloads the updated packages to the vendor folder.