Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install to latest Laravel 8 #85

Open
internetbug256 opened this issue Oct 4, 2021 · 2 comments
Open

Can't install to latest Laravel 8 #85

internetbug256 opened this issue Oct 4, 2021 · 2 comments

Comments

@internetbug256
Copy link

internetbug256 commented Oct 4, 2021

Hi there.
I am using Laravel 8, and trying to do a simple "composer require laravelcollective/remote" gives me the following errors.

[root@centos]# composer require laravelcollective/remote
Using version ^6.2 for laravelcollective/remote
./composer.json has been updated
Running composer update laravelcollective/remote
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- laravelcollective/remote[v6.2.0, ..., 6.x-dev] require phpseclib/phpseclib ^2.0 -> found phpseclib/phpseclib[2.0.0, ..., 2.0.x-dev] but the package is fixed to 3.0.10 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- Root composer.json requires laravelcollective/remote ^6.2 -> satisfiable by laravelcollective/remote[v6.2.0, 6.x-dev].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

@addgod
Copy link

addgod commented Jan 18, 2022

I have the same problem. Cannot install due to usage of old version of phpseclib.

@toonvandenbos
Copy link

In case anybody is still stuck with this package in 2024, we've made a PR for Laravel 9, 10 & 11 which also updates phpseclib to its latest v3.

In case it never gets merged, you are free to use our fork too:

  1. Add our repository to your composer.json file:
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/whitecube/remote.git"
        }
    ],
  2. Change the require section:
    "whitecube/remote": "^0.1.0"

There are indeed some minor breaking changes but in our case everything is working smoothly. More info in #93

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants