Download the PHP package iserv/composertoolsinstaller without Composer
On this page you can find all versions of the php package iserv/composertoolsinstaller. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download iserv/composertoolsinstaller
More information about iserv/composertoolsinstaller
Files in iserv/composertoolsinstaller
Package composertoolsinstaller
Short Description Allows to install tools as standalone Composer dependencies.
License MIT
Informations about the package composertoolsinstaller
Composer Tools Installer aka Cotor
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.
All versions of composertoolsinstaller with dependencies
symfony/console Version ^7.0.0
symfony/filesystem Version ^7.0
symfony/process Version ^7.0