Download the PHP package cron-eu/cron-context without Composer
On this page you can find all versions of the php package cron-eu/cron-context. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cron-eu/cron-context
More information about cron-eu/cron-context
Files in cron-eu/cron-context
Package cron-context
Short Description TYPO3_CONTEXT configuration loader
License GPL-2.0-or-later
Homepage https://github.com/cron-eu/t3x-cron-context
Informations about the package cron-context
Cron TYPO3_CONTEXT Configuration
Installation
Install extension via composer
and add config/system/additional.php
(or use symlinks):
Copy EXT:cron_context/Examples/additional/
to config/system/additional/
Hint: You don't need to install this extension inside TYPO3 CMS.
Configuration
When using EXT:cron_context/Default.php
following configuration directories are used (in this order):
EXT:cron_context/Configuration/
config/system/additional/
Context examples
TYPO3_CONTEXT=Production (default):
config/system/additional/Production.php
TYPO3_CONTEXT=Testing (eg. for Unit tests):
config/system/additional/Testing.php
TYPO3_CONTEXT=Development (for development):
config/system/additional/Development.php
TYPO3_CONTEXT=Development/Docker (for development inside docker boilerplate):
config/system/additional/Development.php
config/system/additional/Development/Docker.php
TYPO3_CONTEXT=Production/Preview (for preview):
config/system/additional/Development.php
config/system/additional/Development/Preview.php
TYPO3_CONTEXT=Production/Live/Server4711 (specific live server configuration):
config/system/additional/Development.php
config/system/additional/Development/Live.php
config/system/additional/Development/Live/Server4711.php
Environment variables
cron_context will read the TYPO3 DB credentials from the following environment variables if present:
- MYSQL_DB or DB_NAME
- MYSQL_HOST or DB_HOST
- MYSQL_PORT or DB_PORT
- MYSQL_USER or DB_USER
- MYSQL_PASS or DB_PASS
- DB_DRIVER (defaults to "mysqli" if not set and a DB_NAME is set)
Advanced usage
If you don't want to use EXT:cron_context/Configuration/
you can customize your own loading in config/system/additional.php