Ease the TYPO3 Composer based Contribution Setup.
Run composer create-project ochorocho/tdk <target-folder-name>
and answer
the command prompts as needed. If you want the current dev version add --stability=dev
to the command.
This command guides you through the process of setting up a composer based TYPO3 CoreDev environment.
- What is your TYPO3/Gerrit Account Username? : Username used on https://review.typo3.org/ which in most cases is your http://my.typo3.org login
- Setup Commit Message Hook? [y/n] : default=y
- Setup Pre Commit Hook? [y/n] : default=y
- Create a basic ddev config? [y/n] : default=y
├── composer.json # Ordinary composer.json with some handy scripts
├── .gitmessage.txt # Commit message template
├── packages # Additional local packages/extensions
└── typo3-core # TYPO3 repository (master branch) git@github.com:TYPO3/typo3.git
composer <command>
tdk:setup
: Setup everything to run a Composer based CoreDev Setuptdk:clear
: Delete all files and foldertdk:remove-hooks
: Delete created hooks in.git/hooks
tdk:enable-hooks
: Create hooks copied from the TYPO3 repositorytdk:set-commit-template
: Configure TYPO3 repository to use.gitmessage.txt
as commit message templatetdk:set-push-url
: Set Gerrit as remote to push patches totdk:ddev-config
: Create a basic ddev configurationtdk:help
: Show summary with links to the TYPO3 Contribution Guidetdk:doctor
: Show potential issuestypo3
: Shortcut to run TYPO3 Commandstdk:apply-patch
: Apply Gerrit patch e.g.composer tdk:apply-patch -- --ref=refs/changes/75/72275/17