How do i use Composer to install a package without a version (only master)

前端 未结 4 1052
無奈伤痛
無奈伤痛 2021-02-12 22:56

I am new to composer and i am trying to install this following lib via the composer update

https://github.com/neitanod/forceutf8

so as i unders

4条回答
  •  攒了一身酷
    2021-02-12 23:45

    You have to specify the version name in the composer.json file. Just find any package which are installable with Composer at : https://packagist.org/

    Search the package name there, you will find the version name. And here is the link for the package you wanted : https://packagist.org/packages/neitanod/forceutf8

提交回复
热议问题