Introduction into using site packages
A site package is a custom TYPO3 extension that contains files regarding the theme and functionality of a site.
For further reading see also: TYPO3 explained: Introduction into using site packages.
How to get started quickly
This tutorial guides you step-by-step through the process of creating a site package from scratch, introducing you to various TYPO3 concepts along the way.
If you are already familiar with TYPO3 and want to create a site package quickly, you may consider using the Site Package Builder.
What files are included in a site package?
A site package typically includes the following files:
- Configuration files, such as site settings, TypoScript, and RTE (rich-text editor) configurations
- Public assets: CSS, JavaScript, fonts, theme related images
- Templates: Fluid templates that generate the HTML output
- Code extending TYPO3 Core functionality or third-party extensions, such as Event listeners and Middlewares (Request handling)
When not to put files in a site package
If you are developing functionality that may need to be shared across multiple sites or TYPO3 installations in the future, it is advisable to create a custom extension for that functionality instead.
Where to download the example site package
You can download the example site package used in this tutorial from GitHub: https://github.com/TYPO3-Documentation/site_package
Note
The example site package is structured for educational purposes and is not intended for use in production environments.