Difference between revisions of "Template:Composer"
Jump to navigation
Jump to search
Tag: 2017 source edit |
Tag: 2017 source edit |
||
| Line 7: | Line 7: | ||
| 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). | ||
|- | |- | ||
| − | | | + | | If feasible, run <code>composer update</code>. |
|- | |- | ||
| − | | | + | | <u>If you encounter memory issues:</u> Locally, run <code>composer update</code>. Copy the composer.lock file to your site's server. |
|- | |- | ||
| Run <code>composer install</code>. | | Run <code>composer install</code>. | ||
|} | |} | ||
Revision as of 11:10, 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.
|