mpociot/teamwork

Cannot install for Laravel 5.5

hondaman900 opened this issue · 2 comments

Hi guys :) Seems Composer is instructed to require Laravel ^6.

From the project front page: "User to Team associations with invitation system for the Laravel 5 Framework".....?

I'm trying to install in my Laravel 5.5 project and get the following response from Composer:

PS C:\xampp\htdocs\ds_dev_01> composer require mpociot/teamwork
Using version ^6.0 for mpociot/teamwork
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for mpociot/teamwork ^6.0 -> satisfiable by mpociot/teamwork[6.0.0].
    - mpociot/teamwork 6.0.0 requires laravel/framework ^7.0 -> satisfiable by laravel/framework[7.x-dev, v7.0.0, v7.0.1, v7.0.2, v7.0.3, v7.0.4, v7.0.5, v7.0.6, v7.0.7, v7.0.8, v7.1.0, v7.1.1, v7.1.2, v7.1.3, v7.10.0, v7.10.1, v7.10.2, v7.10.3, v7.11.0, v7.12.0, v7.13.0, v7.14.0, v7.14.1, v7.15.0, v7.16.0, v7.16.1, v7.2.0, v7.2.1, v7.2.2, v7.3.0, v7.4.0, v7.5.0, v7.5.1, v7.5.2, v7.6.0, v7.6.1, v7.6.2, v7.7.0, v7.7.1, v7.8.0, v7.8.1, v7.9.0, v7.9.1, v7.9.2] but these conflict with your requirements or minimum-stability.

Is there a workaround or a prior version I should use (or am I forced to upgrade to a later Laravel?)

Please advise.

oliuz commented

Hi @hondaman900

In order to install the Teamwork package for that version of Laravel, you should use this command:
composer require mpociot/teamwork:^5.3

Thank you!