Running composer in a different directory than current

后端 未结 4 1013
萌比男神i
萌比男神i 2021-01-31 07:04

I don\'t know if this question has been asked, because searching finds results mostly about moving the libraries installation directory.

I have a globally installed comp

4条回答
  •  萌比男神i
    2021-01-31 07:33

    Run:

    cd /home/mysites/google.com
    

    Then run:

    composer require facebook/graph-sdk
    

    Above steps will open up the directory named (google.com) and install facebook Graph SDK there.

提交回复
热议问题