Difference between revisions of "Template:Composer"
Jump to navigation
Jump to search
Tag: 2017 source edit |
Tag: 2017 source edit |
||
Line 2: | Line 2: | ||
|- | |- | ||
| '''Installing packages with Composer:''' | | '''Installing packages with Composer:''' | ||
+ | |- | ||
+ | | Commands are given as <code>composer [command]</code>; if you have not installed composer globally, they will be <code>php composer.phar [command]</code> instead. | ||
|- | |- | ||
| You may need to run <code>composer self-update</code> (assuming you have not recently) before installing package(s). | | You may need to run <code>composer self-update</code> (assuming you have not recently) before installing package(s). |
Revision as of 10:08, 20 October 2020
Installing packages with Composer: |
Commands are given as composer [command] ; if you have not installed composer globally, they will be php composer.phar [command] instead.
|
You may need to run composer self-update (assuming you have not recently) before installing package(s).
|
If feasible, run composer update .
|
If you encounter memory issues: Locally, run composer update . Copy the composer.lock file to your site's server.
|
Run composer install .
|