iserv / composertoolsinstaller
Allows to install tools as standalone Composer dependencies.
v1.10.7
2025-05-06 08:11 UTC
Requires
- php: >=8.2
- symfony/console: ^7.0.0
- symfony/filesystem: ^7.0
- symfony/process: ^7.0
Suggests
- box-project/box: Uses box to build phar. Recommended to use box.phar instead of composer.
- dev-master
- v1.10.7
- v1.10.6
- v1.10.5
- v1.10.4
- v1.10.3
- v1.10.2
- v1.10.1
- v1.10
- v1.9.2
- v1.9.1
- v1.9
- v1.8.6
- v1.8.5
- v1.8.4
- v1.8.3
- v1.8.2
- v1.8.1
- v1.8
- v1.7.9
- v1.7.8
- v1.7.7
- v1.7.6
- v1.7.5
- v1.7.4
- v1.7.3
- v1.7.2
- v1.7.1
- v1.7
- v1.6
- v1.5
- v1.4
- v1.3
- v1.2.1
- v1.2
- v1.1
- v1.0.2
- v1.0.1
- v1.0
- dev-testing
- dev-renovate/major-2-cotor-tools
- dev-renovate/composer-dependencies
- dev-renovate/cotor-tools
- dev-renovate/major-6-cotor-tools
- dev-renovate/major-5-cotor-tools
- dev-unstable
- dev-70868-run-command
- dev-renovate/major-7-composer-symfony-major-dependencies
- dev-renovate/major-6-composer-symfony-major-dependencies
- dev-stable
- dev-paik-readme-improvements
This package is auto-updated.
Last update: 2025-06-06 08:26:32 UTC
README
How to use cotor
You can install any composer based dev tool with cotor. It will install each package in a tools
folder in your current working directory.
For each tool a standalone folder named by the package without the vendor will be created.
Commands
- list: Lists all available commands.
- install: Installs all tools and extensions listed in your composer.json at
extra.cotor
. - install $name: Installs a new tool.
$name
must be a tool's package or registered shortcut name. - update $name: Updates an installed tool.
$name
must be a tool's package or registered shortcut name. - update-all: Updates all installed tools.
- outdated: Lists all tools and checks if they are up-to-date.
- extend $name $extension: Installs a tool extension.
$name
must be a tool's package or registered shortcut name.$extension
must be the package name of the extension.
composer.json
Cotor tracks your required tools in the extra section in your composer.json
file:
{ "extra": { "cotor": { "friendsofphp/php-cs-fixer": "^3.1", "phpstan/phpstan": "^1.5", "vimeo/psalm": "^4.10" } } }
This way you can keep track of the tools and cotor can install them easily.
How to build cotor
- Ensure you've got
box
installed in your$PATH
. - Run
box compile
to create a newcotor.phar
.
box
takes the latest git tag or hash to propagate this as the PHARs version. So be sure to hava a proper git history before running the command.