phplaravelcomposer-phpvoyagerflysystem

Composer failure when installing Laravel + Voyager with league/flysystem


I did a composer create-project laravel/laravel . and a composer require tcg/voyager. I keep getting this.

Using version ^1.4 for tcg/voyager
./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
    - Conclusion: don't install tcg/voyager v1.4.2
    - Conclusion: don't install tcg/voyager v1.4.1
    - Conclusion: don't install tcg/voyager v1.4.0
    - Conclusion: don't install tcg/voyager 1.x-dev
    - Conclusion: remove league/flysystem 1.1.0
    - Installation request for tcg/voyager ^1.4 -> satisfiable by tcg/voyager[1.4.x-dev, 1.x-dev, v1.4.0, v1.4.1, v1.4.2].
    - Conclusion: don't install league/flysystem 1.1.0
    - tcg/voyager 1.4.x-dev requires league/flysystem ~1.0.41 -> satisfiable by league/flysystem[1.0.41, 1.0.42, 1.0.43, 1.0.44, 1.0.45, 1.0.46, 1.0.47, 1.0.48, 1.0.49, 1.0.50, 1.0.51, 1.0.52, 1.0.53, 1.0.54, 1.0.55, 1.0.56, 1.0.57, 1.0.58, 1.0.59, 1.0.60, 1.0.61, 1.0.62, 1.0.63, 1.0.64, 1.0.65, 1.0.66, 1.0.67, 1.0.68, 1.0.69, 1.0.70, 1.0.x-dev].
    - Can only install one of: league/flysystem[1.0.41, 1.1.0].
    - Can only install one of: league/flysystem[1.0.42, 1.1.0].
    - Can only install one of: league/flysystem[1.0.43, 1.1.0].
    - Can only install one of: league/flysystem[1.0.44, 1.1.0].
    - Can only install one of: league/flysystem[1.0.45, 1.1.0].
    - Can only install one of: league/flysystem[1.0.46, 1.1.0].
    - Can only install one of: league/flysystem[1.0.47, 1.1.0].
    - Can only install one of: league/flysystem[1.0.48, 1.1.0].
    - Can only install one of: league/flysystem[1.0.49, 1.1.0].
    - Can only install one of: league/flysystem[1.0.50, 1.1.0].
    - Can only install one of: league/flysystem[1.0.51, 1.1.0].
    - Can only install one of: league/flysystem[1.0.52, 1.1.0].
    - Can only install one of: league/flysystem[1.0.53, 1.1.0].
    - Can only install one of: league/flysystem[1.0.54, 1.1.0].
    - Can only install one of: league/flysystem[1.0.55, 1.1.0].
    - Can only install one of: league/flysystem[1.0.56, 1.1.0].
    - Can only install one of: league/flysystem[1.0.57, 1.1.0].
    - Can only install one of: league/flysystem[1.0.58, 1.1.0].
    - Can only install one of: league/flysystem[1.0.59, 1.1.0].
    - Can only install one of: league/flysystem[1.0.60, 1.1.0].
    - Can only install one of: league/flysystem[1.0.61, 1.1.0].
    - Can only install one of: league/flysystem[1.0.62, 1.1.0].
    - Can only install one of: league/flysystem[1.0.63, 1.1.0].
    - Can only install one of: league/flysystem[1.0.64, 1.1.0].
    - Can only install one of: league/flysystem[1.0.65, 1.1.0].
    - Can only install one of: league/flysystem[1.0.66, 1.1.0].
    - Can only install one of: league/flysystem[1.0.67, 1.1.0].
    - Can only install one of: league/flysystem[1.0.68, 1.1.0].
    - Can only install one of: league/flysystem[1.0.69, 1.1.0].
    - Can only install one of: league/flysystem[1.0.70, 1.1.0].
    - Can only install one of: league/flysystem[1.0.x-dev, 1.1.0].
    - Installation request for league/flysystem (locked at 1.1.0) -> satisfiable by league/flysystem[1.1.0].

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

I tried clearing the cache and starting the process over and also composer update --ignore-platform-reqs. None of this seems to work.

I even tried installing flysystem before voyager like this discussion says:

https://laracasts.com/discuss/channels/general-discussion/having-problems-with-laravel-53-voyager


Solution

  • Issue was resolved on PR Merge.

    https://github.com/the-control-group/voyager/pull/5040

    Voyager installs correctly now.