How to force a package to be installed?

风格不统一 提交于 2019-12-05 01:28:25

To force the installation of this package, I added the following to the require element of composer.json:

"cartalyst/sentry":"dev-feature/laravel-5 as 2.1.4"

Below is the link from where I found this suggestion:

http://vvv.tobiassjosten.net/php/have-composer-use-development-branches/

It will not work from the command line, must be through composer.json. That I don't know why.

Update:

I believe I was wrong in my last statement above, actually something like the following will work from the command line:

composer require "codeception/codeception":"2.1.0-rc1 as 2.0.9"

Try to use this

composer require "cartalyst/sentry": "2.0.*@dev"

I believe sentry is not fully compatible with Laravel 5 yet

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!