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

问题描述 投票:0回答: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的较新版本?请有人解决问题。

laravel laravel-5 composer-php invoice invoice-ninja
1个回答
0
投票

根据Bogdan的建议,根据软件包[composer.json][1],此软件包仅可在Laravel 5.0。*上使用。

关于安装软件包,它们可以具有其自己的依赖关系或随后需要运行的软件包,在这种情况下,其格式被设置为可以在5.0。*上运行,因此运行Laravel 5.1使其不兼容。

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

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

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

Bogdan最初发表的评论,但作为正式回答提供了答复。

© www.soinside.com 2019 - 2024. All rights reserved.