Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

missing libraries #8

Closed
0xMurage opened this issue Nov 25, 2018 · 3 comments
Closed

missing libraries #8

0xMurage opened this issue Nov 25, 2018 · 3 comments

Comments

@0xMurage
Copy link

There are missing libraries in the composer.json file (while are mysteriously available in composer.lock file). Update the required dependencies in composer.json

@toksdotdev
Copy link
Owner

Just fixed this. Thanks a lot 🚀🚀🚀.

@0xMurage
Copy link
Author

You have not updated the composer.json file to include

"guzzlehttp/promises": "^1.0",
"guzzlehttp/psr7": "^1.4",

@toksdotdev
Copy link
Owner

I dont need to update the composer.json file. The reason is because I am only leveraging on stichoza/google-translate-php, and this is a level 0 dependency.

The other dependencies you are seeing in composer.lock file are the dependencies of stichoza/google-translate-php. The reason why they are in composer.lock, is to lock down version numbers of those libraries, and prevent any breaking changes that might have occured to affect any aspect of this code base.

Thats the difference between composer.lock and composer.json.

Not all dependencies in composer.lock are in composer.json.

Only level 0 dependencies get added to composer.json

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants