https://github.com/kamiyang/ext-t3cv_export
Extbase console command to dump and export TYPO3 CONF VARS
https://github.com/kamiyang/ext-t3cv_export
cli cms-extension command extbase typo3
Last synced: about 1 year ago
JSON representation
Extbase console command to dump and export TYPO3 CONF VARS
- Host: GitHub
- URL: https://github.com/kamiyang/ext-t3cv_export
- Owner: KamiYang
- License: gpl-3.0
- Created: 2019-09-25T15:56:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-20T19:43:57.000Z (over 6 years ago)
- Last Synced: 2025-01-30T13:22:23.386Z (over 1 year ago)
- Topics: cli, cms-extension, command, extbase, typo3
- Language: PHP
- Homepage:
- Size: 681 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TYPO3 CONF VARS Exporter
## Exporter
This extension adds a cli command that can be used to export certain TYPO3_CONF_VARS into a dot env (`.env`) file that
lies outside of the web root.
## Installation
### Composer (recommended)
Using composer is an easy way to get the extension. Simply run `composer req kamiyang/ext-t3cv_exporter`.
You might want to use the `:dev-master` version for now as there is no 1.0 release yet.
After installing the extension, you need to enable it to use it in your TYPO3 environment.
## Usage
Currently there are two tasks:
| command | description |
| --- | --- |
| t3cv_export:environment:dump | Prints $GLOBALS[TYPO3_CONF_VARS] that will be exported |
| t3cv_export:environment:export | Export $GLOBALS[TYPO3_CONF_VARS] to .env file |
![Usage demonstration inside a terminal] [usage]
[usage]: Documentation/Images/Usage.png