php - How to use composer in a localwp project?

one text

I??�m a newby on using composer, git, etc, in fact I??�ve never used them, but I need the Spaces API PHP library (which requires composer) for my project.

Since LocalWP includes composer, could anyone tell me in detail how to integrate it into my project?

The tutorials I've found are not ment for LocalWP specific case. All of them teach u how to install composer, but since LocalWP has it already, I don't know how to apply it to my project.

My System Details:

  • LocalWP latest version
  • Windows 10 Pro
  • Chrome
  • VS Code

Source