如何在 Laravel 5.1 中添加“发票忍者”?

How to Add 'Invoice Ninja" in Laravel 5.1?

"composer require hillelcoren/invoice-ninja" 对我不起作用并出现以下错误:

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

Problem 1
- hillelcoren/invoice-ninja v2.4.5 requires laravel/framework 5.0.* -> no matching package found.
- hillelcoren/invoice-ninja v2.4.4 requires laravel/framework 5.0.* -> no matching package found.
- hillelcoren/invoice-ninja v2.4.3 requires laravel/framework 5.0.* -> no matching package found.
- hillelcoren/invoice-ninja v2.4.2 requires laravel/framework 5.0.* -> no matching package found.
- hillelcoren/invoice-ninja v2.4.1 requires laravel/framework 5.0.* -> no matching package found.
- hillelcoren/invoice-ninja v2.4.0 requires laravel/framework 5.0.* -> no matching package found.
- Installation request for hillelcoren/invoice-ninja ^2.4 -> satisfiable by hillelcoren/invoice-ninja[v2.4.0, v2.4.1, v2.4.2, v2.4.3, v2.4.4, v2.4.5].

Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Installation failed, reverting ./composer.json to its original content.

这是否意味着 NinjaInvoice 不支持更新版本的 Laravel?请有人解决问题。

正如 Bogdan 所建议的,根据软件包 [composer.json][1].

,此软件包仅在 Laravel 5.0.* 上可用

当涉及到安装包时,他们可以有自己的依赖项或包,他们随后需要 运行,在这种情况下,它在 5.0 上被格式化为 运行。* 等等 运行ning Laravel 5.1 使其不兼容。

同样,正如 Bogdan 所建议的,记录问题是查看它们是否支持 5.1 的好方法。

查看未解决的问题,您已完成此操作并打开了 one

同时,您要么等待 5.1 支持,要么寻找类似的软件包。

Bogdan 给出的原始评论,但是作为答案发布以提供官方答案。