How do I get Composer to download the latest commit in the master branch from GitHub for a package?

前端 未结 5 1203
一个人的身影
一个人的身影 2021-01-31 01:47

I am trying to get Composer do download the latest commit for the Behat/MinkSelenium2Driver package. That particular repo only has a master branch. I have tried every method I c

5条回答
  •  Happy的楠姐
    2021-01-31 02:26

    Simply specify the master branch:

    composer require --dev behat/mink-selenium2-driver:dev-master
    

    PS: the --dev is just to specify it's a test/development requirement, that's probably what you want.

提交回复
热议问题