beyondcode / laravel-self-diagnosis

Perform Self-Diagnosis Tests On Your Laravel Application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install fails in new 5.6 project

sunscreem opened this issue · comments

$ composer require beyondcode/laravel-self-diagnosis
Using version ^0.2.0 for beyondcode/laravel-self-diagnosis
./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 beyondcode/laravel-self-diagnosis ^0.2.0 -> satisfiable by beyondcode/laravel-self-diagnosis[0.2.0].
    - Conclusion: remove vlucas/phpdotenv v2.4.0
    - Conclusion: don't install vlucas/phpdotenv v2.4.0
    - beyondcode/laravel-self-diagnosis 0.2.0 requires vlucas/phpdotenv ~2.5 -> satisfiable by vlucas/phpdotenv[2.5.x-dev, v2.5.0].
    - Can only install one of: vlucas/phpdotenv[2.5.x-dev, v2.4.0].
    - Can only install one of: vlucas/phpdotenv[v2.5.0, v2.4.0].
    - Installation request for vlucas/phpdotenv (locked at v2.4.0) -> satisfiable by vlucas/phpdotenv[v2.4.0].


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

Can I give you any further info?

I'm thinking this indicates I've a package installed which requires vlucas/phpdotenv v2.4.0 and this is causing the problem?

What does composer why vlucas/phpdotenv give you?

composer why vlucas/phpdotenv
laravel/framework  v5.6.26  requires  vlucas/phpdotenv (~2.2)

Please do a composer update in order to pull in version 2.5 of phpdotenv.
Then you should be able to install this package.

There we go!

Good job, looks like you are all set up.

Sorry for the n00b issue!