!!! Original Repository on: https://codeberg.org/kiesi/t3quickstart !!!
Mirror only on Github: https://github.com/thomaskieslich/t3quickstart
Sometimes i need a fresh TYPO3 Project with or without content. This is a script to create it from Environment.
- Copy
.env.local.distto.env.localand adjust values (especially admin credentials):cp .env.local.dist .env.local
- Adjust version-specific settings in
.env.<version>if needed
| Variable | Default | Description |
|---|---|---|
INSTALL_PHPMYADMIN |
0 |
Install ddev-phpmyadmin add-on |
INSTALL_CAMINO_THEME |
1 |
Install Camino Theme (TYPO3 14+ only) |
CREATE_PACKAGES_DIR |
0 |
Create packages/ directory for local extensions: 0=none, 1=local folder in project, 2=mount shared t3matrix/packages/ via Docker volume |
GET_T3STATIC |
0 |
Clone t3static extension from Codeberg into packages/t3static |
Supported versions: 10, 11, 12, 13, 14
| Version | Install Command | Delete Command |
|---|---|---|
| 10 | ./t3quickstart install 10 |
./t3quickstart delete 10 |
| 11 | ./t3quickstart install 11 |
./t3quickstart delete 11 |
| 12 | ./t3quickstart install 12 |
./t3quickstart delete 12 |
| 13 | ./t3quickstart install 13 |
./t3quickstart delete 13 |
| 14 | ./t3quickstart install 14 |
./t3quickstart delete 14 |
Der Projektordner wird automatisch als typo3-v<version> angelegt. Ein eigener Name kann als dritter Parameter übergeben werden:
./t3quickstart install 14 my-custom-project
./t3quickstart delete 14 my-custom-projectAfter installation, open https://typo3-v<version>.ddev.site/typo3 and use the credentials from .env.local.
To use local extensions across multiple TYPO3 instances, create a shared packages/ directory at the project root:
mkdir -p packages
# Place or clone extensions here, e.g.:
git clone https://github.com/example/my_extension.git packages/my_extensionWhen using CREATE_PACKAGES_DIR=2 in .env.<version> or .env.local, the script automatically creates .ddev/docker-compose.packages.yaml to mount the shared packages directory:
services:
web:
volumes:
- "/absolute/path/to/t3matrix/packages:/var/www/html/packages:cached"The composer.json is automatically configured with:
{
"repositories": [{
"name": "local",
"type": "path",
"url": "packages/*"
}]
}Install the extension:
ddev composer require vendor/my_extension:@devNote: Composer commands should be run inside DDEV (ddev composer) to access the mounted packages directory.