Composer
curl -sS https://getcomposer.org/installer | php
php composer.phar install --no-dev --optimize-autoloader Installing dependencies from lock file Verifying lock file contents can be installed on current platform. Package operations: 9 installs, 0 updates, 0 removals - Installing enshrined/svg-sanitize (0.22.0): Extracting archive - Installing symfony/polyfill-mbstring (v1.37.0): Extracting archive - Installing hashids/hashids (5.0.2): Extracting archive - Installing jblond/php-diff (2.5.0): Extracting archive - Installing psr/simple-cache (3.0.0): Extracting archive - Installing phiki/phiki (v2.2.0): Extracting archive - Installing phpmailer/phpmailer (v7.1.1): Extracting archive - Installing phpthumb/phpthumb (2.3.3): Extracting archive - Installing simplepie/simplepie (1.9.0): Extracting archive Generating optimized autoload files
composer update Loading composer repositories with package information Updating dependencies Lock file operations: 0 installs, 2 updates, 0 removals - Upgrading hashids/hashids (4.1.0 => 5.0.2) - Upgrading phpmailer/phpmailer (v6.12.0 => v7.1.1) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 0 installs, 2 updates, 0 removals - Downloading hashids/hashids (5.0.2) - Downloading phpmailer/phpmailer (v7.1.1) - Upgrading hashids/hashids (4.1.0 => 5.0.2): Extracting archive - Upgrading phpmailer/phpmailer (v6.12.0 => v7.1.1): Extracting archive Generating optimized autoload files No security vulnerability advisories found.
- [link1] https://getcomposer.org/doc/articles/resolving-merge-conflicts.md