1
0
Fork 0
Boilerplate for using TYPO3 with DDEV-Local
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Marcel Kapfer f6083d3f7d
🐛 Fixed syntax error in ext_emconf.php (missing comma)
4 months ago
.ddev Update for TYPO3 v11 5 months ago
Classes Add basic TYPO3 extension boilerplate 5 months ago
Configuration/TCA Add basic TYPO3 extension boilerplate 5 months ago
Resources Add basic TYPO3 extension boilerplate 5 months ago
.gitattributes Initial commit 1 year ago
.gitignore Update for TYPO3 v11 5 months ago
LICENSE Initial commit 1 year ago
README.org Add basic TYPO3 extension boilerplate 5 months ago
composer.json Update for TYPO3 v11 5 months ago
ext_emconf.php 🐛 Fixed syntax error in ext_emconf.php (missing comma) 4 months ago

README.org

TYPO3 DDEV-Local Boilerplate

DDEV-Local is a tool for setting up local PHP development environments within few minutes using Docker. It includes specific support for various PHP platforms including TYPO3.

While it is quite simple to use, it requires a little bit of initial setup for new or existing projects. This boilerplate repository contains an example configuration for a DDEV-Local TYPO3 setup. As with everything else there is more than one way to do it and of course you do not need to follow this configuration (exactly). Please be aware that this repository only includes a very basic boilerplate for a TYPO3 extension. It is perhaps necessary to add some configuration yourself.

How to use it

To start with it is of course required to install ddev first. After setting up a TYPO3 extension structure including this boilerplate (beware to customize .ddev/config.yaml and composer.json to your needs) it is necessary to run ddev composer install for setting up the TYPO3 project and afterwards start the project with ddev start. By running ddev launch or visiting the displayed URL you can continue the setup of the local TYPO3 installation in your browser and start developing the extension in the root folder of the TYPO3 project.

How it works

The boilerplate contains a composer.json file for TYPO3 v11 (check the other branches of this repo for older version) created with ddev composer create "typo3/cms-base-distribution" . In the directory .ddev there is a basic config.yaml file containing the DDEV configuration which is accompanied with the docker-composer.environment.yaml file for setting the TYPO3_CONTEXT to Development. Additionally the config.yaml file and the composer.json define that the TYPO3 installation and configuration is kept in the .build directory (which is ignored in .gitignore). The last file to mention is the .gitattributes which defines export-ignore rules for the relevant files/directories in this repository.

Credits

The credits for the original boilerplate repository (for TYPO3 v10) go to contributors of the bootstrap_package especially Benjamin Kott and Gilbertsoft. The original content for TYPO3 v10 of this repository is more or less exactly modeled after it and afterwards updated for newer versions on my own.