As you can see in the error message, it only supports Laravel 5.0., so not 5.1.. You can contact the author of the package if they can create a Laravel 5.1 version or you can fork the repository and make it work in Laravel 5.1 ;)
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:
- 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.
Does it means that NinjaInvoice doesn't support the newr versions of Laravel? Please someone solve the issue.
Please or to participate in this conversation.