This repository is responsible for preparing a zip package with a ready-to-run TYPO3 installation for the TYPO3 Playground (a browser-based TYPO3 environment using PHP compiled to WebAssembly).
The produced ZIP file includes the full TYPO3 source code, vendor
directory, necessary extensions, and optionally the var
directory with cache and a database (e.g., SQLite). It is later consumed by the TYPO3 Playground frontend.
Before generating the ZIP file, open the zip.sh
script and make sure the destination path for the final ZIP file is correct.
In particular, adjust this line:
cp typo3-13.4.zip ../typo3-playground/packages/playground/typo3-builds/src/typo3
Make sure the TYPO3 site in website/ has generated all required caches, visit website at least once.
This step will download and place the required helper scripts for post-processing PHP files (e.g., inserting newlines after PHP attributes to prevent stripping).
./prepare-13.sh
This script needs to be run once, unless dependencies change.
Now you're ready to build the actual ZIP package. Just run:
./zip.sh
This file can now be used inside the TYPO3 Playground.
All .md, .git, and .ddev files are excluded during zipping.
The final ZIP file contains only the content of the website/ directory, not the directory itself.
You can customize the version number by editing the zip.sh script.