Salut les amis, je suis la doc de composer
Je souhaite désinstaller un package installé dans un projet symfony 4
J'ai éxécuté la commande composer remove liip/imagine-bundle --update-with-dependencies
pour supprimer toutes les dépendances, mais il me dit que ce drapeau a été déprécié.
Comment puis-je supprimer toutes les dépendances d'un package avec composer.
Y'a-t-il une solution ou il faut que je le fasse à la main ?
Voici ce que j'ai trouvé sur la doc ?
remove#
The remove command removes packages from the composer.json file from the current directory.
php composer.phar remove vendor/package vendor/package2
After removing the requirements, the modified requirements will be uninstalled.
Options
--dev: Remove packages from require-dev.
--no-progress: Removes the progress display that can mess with some terminals or scripts which don't handle backspace characters.
--no-update: Disables the automatic update of the dependencies.
--no-scripts: Skips execution of scripts defined in composer.json.
--update-no-dev: Run the dependency update with the --no-dev option.
--update-with-dependencies: Also update dependencies of the removed packages.
--ignore-platform-reqs: ignore php, hhvm, lib-* and ext-* requirements and force the installation even if the local machine does not fulfill these. See also the platform config option.
--optimize-autoloader (-o): Convert PSR-0/4 autoloading to classmap to get a faster autoloader. This is recommended especially for production, but can take a bit of time to run so it is currently not done by default.
--classmap-authoritative (-a): Autoload classes from the classmap only. Implicitly enables --optimize-autoloader.
--apcu-autoloader: Use APCu to cache found/not-found classes.