Provides a preconfigured grumphp setup for TYPO3 extensions that i write.
The configuration currently expects the package in some specific directories. Run these lines to setup composer accordingly. This will only take effect, if you run composer from the extension, not from your project and should thus be safe to use.
git ignore .Build composer.lock
composer config vendor-dir .Build/vendor
composer config bin-dir .Build/bin
composer config extra.typo3/cms.cms-package-dir "{\$vendor-dir}/typo3/cms"
composer config extra.typo3/cms.web-dir .Build/Web
composer config repositories.grumphp-conventions-typo3 vcs https://github.com/akiessling/grumphp-conventions-typo3.git
composer require --dev andreaskiessling/grumphp-conventions-typo3 dev-master
Create a grumphp.yml in your extension directory and insert this content:
imports:
- { resource: .Build/vendor/andreaskiessling/grumphp-conventions-typo3/grumphp.yml }
or symlink it from this package
ln -s .Build/vendor/andreaskiessling/grumphp-conventions-typo3/grumphp.yml .
.Build/bin/grumphp run