mkhuramj's avatar

How to Add 'Invoice Ninja" in Laravel 5.1?

"composer require hillelcoren/invoice-ninja" is not working for me and giving the following error:

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:

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

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

Does it means that NinjaInvoice doesn't support the newr versions of Laravel? Please someone solve the issue.

0 likes
5 replies
Francismori7's avatar

invoice-ninja looks like is a full install of Laravel.. as in, you do not add the package to an existing Laravel install, but rather in a new empty directory. Fork the project and clone it, run composer install and profit.

1 like
Francismori7's avatar

This INVOICE-NINJA project is not to be integrated within another Laravel installation, just for the record. This project IS, IN ITSELF, a Laravel PROJECT, not PACKAGE.

1 like

Please or to participate in this conversation.