手动安装没有作曲家的Laravel包

时间:2015-02-12 14:21:49

标签: php laravel-4 datatable composer-php laravel-5

我想在chumper/datatable应用中安装Laravel 5个包。它显示低于错误,因为它与Laravel 5不兼容。

 Your requirements could not be resolved to an installable set of packages.

 Problem 1
- Installation request for chumper/datatable ~2.3 -> satisfiable by chumper/datatable[2.3].
- Conclusion: remove laravel/framework v5.0.2
- chumper/datatable 2.3 requires illuminate/config 4.* -> satisfiable by illuminate/config[v4.0.0, v4.0.1, v4.0.10, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9, v4.1.0, v4.1.1, v4.1.10, v4.1.11, v4.1.12, v4.1.13, v4.1.14, v4.1.15, v4.1.16, v4.1.17, v4.1.18, v4.1.19, v4.1.2, v4.1.20, v4.1.21, v4.1.22, v4.1.23, v4.1.24, v4.1.25, v4.1.26, v4.1.27, v4.1.28, v4.1.29, v4.1.3, v4.1.30, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9, v4.2.1, v4.2.12, v4.2.16, v4.2.17, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
- don't install illuminate/config v4.0.0|don't install laravel/framework v5.0.2

所以我检查了git repo并发现this issue建议更改4行以使其与Laravel 5一起使用。

问题是如何手动安装chumper/datatable,因为composer对此很疯狂。如果您有任何其他想法请帮助。

1 个答案:

答案 0 :(得分:1)

我刚刚安装了一个新的Laravel 5.0.4,然后在require-dev“chumper / datatable”:“dev-master”上安装了它。它有用了。