Can't install to latest Laravel 8

#85 · open · 2 comments

View on GitHub ↗

internetbug256

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.

Comments

addgod

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

toonvandenbos

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: ```json "repositories": [ { "type": "vcs", "url": "https://github.com/whitecube/remote.git" } ], ``` 2. Change the require section: ```json "whitecube/remote": "^0.1.0" ``` There are indeed some minor breaking changes but in our case everything is working smoothly. More info in #93