odinstalovani pomoci composeru
- vosy
- Člen | 532
Composer version 1.0.0-alpha8 2014-01-06 18:39:59
Usage:
[options] command [arguments]
Options:
--help -h Display this help message.
--quiet -q Do not output any message.
--verbose -v|vv|vvv Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version -V Display this application version.
--ansi Force ANSI output.
--no-ansi Disable ANSI output.
--no-interaction -n Do not ask any interactive question.
--profile Display timing and memory usage information
--working-dir -d If specified, use the given directory as working directory.
Available commands:
about Short information about Composer
archive Create an archive of this composer package
config Set config options
create-project Create new project from a package into given directory.
depends Shows which packages depend on the given package
diagnose Diagnoses the system to identify common errors.
dump-autoload Dumps the autoloader
dumpautoload Dumps the autoloader
global Allows running commands in the global composer dir ($COMPOSER_HOME).
help Displays help for a command
init Creates a basic composer.json file in current directory.
install Installs the project dependencies from the composer.lock file if present, or falls back on the composer.json.
licenses Show information about licenses of dependencies
list Lists commands
require Adds required packages to your composer.json and installs them
run-script Run the scripts defined in composer.json.
search Search for packages
self-update Updates composer.phar to the latest version.
selfupdate Updates composer.phar to the latest version.
show Show information about packages
status Show a list of locally modified packages
update Updates your dependencies to the latest version according to composer.json, and updates the composer.lock file.
validate Validates a composer.json
- n.u.r.v.
- Člen | 485
Orlando napsal(a):
Nebo já používám (nevím, jestli správně, ale funguje):
odebrat danou závislost z composer.json a pak v terminálu (PHPStorm) spustím composer update
Ano, takto to také dělám…
A co se týče instalace mpdf, tak používám toto: https://packagist.org/…es/mpdf/mpdf
- Filip Klimeš
- Nette Blogger | 156
Nebo já používám (nevím, jestli správně, ale funguje):
odebrat danou závislost z composer.json a pak v terminálu (PHPStorm) spustím composer update
Když použiješ remove, Composer tohle udělá za Tebe :)
A co se týče instalace mpdf, tak používám toto: https://packagist.org/…es/mpdf/mpdf
Jj, to je to samý na co jsem odkazoval.
- Duch.Veliky
- Člen | 68
Já to dělám třeba tak, že v v souboru composer.json smažu v require to co tam nechci a pak dám „composer update“. Nebo to jde i jako composer remove _____ , jak tu už někdo psal. composer remove ti to odebere i z composer.json.