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

前端 未结 4 599
甜味超标
甜味超标 2021-02-12 23:06

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:52

    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

提交回复
热议问题