With composer and typo3_console
- PHP >= 7.1
- MySQL >= 5.7
- Apache >= 2.1 or Nginx (if available)
- A database user with granted access to an empty database
This distribution is provided with a laradock configuration to run TYPO3 with docker.
git clone --recursive https://github.com/pitchart/dawin-typo3-cms-distribution.git cms
cd cms/laradock-dawin-t3/
make install-dev
The TYPO3 website is available at http://localhost/ and the backend at http://localhost/typo3/
You must download composer binaries before to start installation.
git clone --recursive https://github.com/pitchart/dawin-typo3-cms-distribution.git cms
cd cms
composer install
php vendor/bin/typo3cms install:setup
php vendor/bin/typo3cms extension:activate **extension_key**
php vendor/bin/typo3cms cache:flush
php -S localhost:<port> -t web/
The TYPO3 website is available at http://localhost:8080/ and the backend at http://localhost:8080/typo3/
// composer.json
"autoload": {
"psr-4": {
"MyVendor\\MySitePackage\\": "web/typo3conf/ext/my_site_package/Classes"
}
}
{
"name": "my-vendor/my-extension-key",
"type": "typo3-cms-extension",
"version": "x.x.x",
"description": "...",
"require": {
"typo3/cms-core": "^8.7"
},
"replace": {
"my_extension_key": "self.version",
"my-vendor/my-extension-key": "self.version"
},
"autoload": {
"psr-4": {
"MyVendor\\MyExtensionKey\\": "Classes/"
}
}
}
By default Typo3 replaces php errors by a message in order to avoid stopping the page's loading if a php error has occured. In development mode you need to deactivate this mode.
In List Go to the root page (Page next to earth), then edit the template record. In the field setup add the following code:
config.contentObjectExceptionHandler = 0