Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/typo3-console/composer-auto-commands
https://github.com/typo3-console/composer-auto-commands
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/typo3-console/composer-auto-commands
- Owner: TYPO3-Console
- License: gpl-2.0
- Created: 2018-06-17T18:50:32.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2023-05-22T12:23:43.000Z (over 1 year ago)
- Last Synced: 2024-11-30T20:35:47.221Z (22 days ago)
- Language: PHP
- Size: 44.9 KB
- Stars: 12
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Execute TYPO3 Console commands in Composer build process
This is a composer package that aims to simplify running [TYPO3 Console](https://github.com/TYPO3-Console/TYPO3-Console)
every time composer dumps autoload information, e.g. during a `composer install` run.The following TYPO3 Console commands are executed:
* `install:generatepackagestates` (only TYPO3 Console lower than 7.0)
* `install:fixfolderstructure`And in the case TYPO3 appears to be setup properly (`typo3conf/LocalConfiguration.php` or
`config/system/settings.php` file is not missing) and running composer in dev mode
(without `--no-dev`) these commands are also executed:* `extension:setup` (or `extension:setupactive` in TYPO3 Console versions lower than 7.0)
See the [command reference](https://docs.typo3.org/p/helhum/typo3-console/master/en-us/CommandReference/Index.html)
for details on these commands.The benefits of using this package over just specifying the console commands in your `composer.json`
scripts sections are:* Works in diverse environments (OSX, Linux, Windows) and always uses the PHP binary that is used for executing composer
* Can be used as dependency in any package, not only your root package## Installation
`composer require typo3-console/composer-auto-commands`