Difference between #10 and #11 of
Install specific Yii2 vendor extension & dependency without updating other packages.

Changes

Title unchanged

Install specific Yii2 vendor extension & dependency without updating other packages.

Category unchanged

Tips

Yii version unchanged

Tags unchanged

yii2, composer, single, vendor, package, dependency

Content changed

[...]
-----------------------------
When you do step 1, you should most likely receive a warning message like below

> Note: The lock file is not up to date with the latest changes in `composer.json`, you may be getting outdated dependencies, run update to update them.

Do not worry. This is a message you should expect similar to when you edit the
`composer.json` file. For example, if you add or update a detail like the library description, authors, extra parameters, or even put a trailing whitespace, this willComposer detects a change to the md5sum of the file. Then composer will and warns you if this hash differs from the one stored in the `composer.lock`.

To proceed further, just update the lock file with the following command:

~~~
php composer.phar update --lock
[...]
2 3
39 followers
Viewed: 43 412 times
Version: 2.0
Category: Tips
Written by: Kartik V
Last updated by: Kartik V
Created on: May 7, 2014
Last updated: 9 years ago
Update Article

Revisions

View all history