I am trying to install the extension socialiteproviders / vkontakte.

I execute the command:

composer require socialiteproviders/vkontakte 

I get the error:

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

Tell me where to look?

Just in case the messages above are:

 Your requirements could not be resolved to an installable set of packages. Problem 1 - Installation request for socialiteproviders/vkontakte ^3.0 -> satisfiable by socialiteproviders/vkontakte[v3.0.0]. - Conclusion: remove laravel/framework v5.1.45 - Conclusion: don't install laravel/framework v5.1.45 - socialiteproviders/vkontakte v3.0.0 requires socialiteproviders/manager ~3.0 -> satisfiable by socialiteproviders/manager[v3.0.0, v3.0.1, v3.0.2, v3.0.3, v3.0.4]. - socialiteproviders/manager v3.0.0 requires laravel/socialite ~3.0 -> satisfiable by laravel/socialite[3.0.x-dev, v3.0.0, v3.0.2, v3.0.3]. - socialiteproviders/manager v3.0.1 requires laravel/socialite ~3.0 -> satisfiable by laravel/socialite[3.0.x-dev, v3.0.0, v3.0.2, v3.0.3]. - socialiteproviders/manager v3.0.2 requires laravel/socialite ~3.0 -> satisfiable by laravel/socialite[3.0.x-dev, v3.0.0, v3.0.2, v3.0.3]. - socialiteproviders/manager v3.0.3 requires laravel/socialite ~3.0 -> satisfiable by laravel/socialite[3.0.x-dev, v3.0.0, v3.0.2, v3.0.3]. - socialiteproviders/manager v3.0.4 requires laravel/socialite ~3.0 -> satisfiable by laravel/socialite[3.0.x-dev, v3.0.0, v3.0.2, v3.0.3]. - laravel/socialite 3.0.x-dev requires illuminate/support ~5.4 -> satisfiable by illuminate/support[5.4.x-dev, 5.5.x-dev, v5.4.0, v5.4.13, v5.4.9]. - laravel/socialite 3.0.x-dev requires illuminate/support ~5.4 -> satisfiable by illuminate/support[5.4.x-dev, 5.5.x-dev, v5.4.0, v5.4.13, v5.4.9]. - laravel/socialite v3.0.0 requires illuminate/support ~5.4 -> satisfiable by illuminate/support[5.4.x-dev, 5.5.x-dev, v5.4.0, v5.4.13, v5.4.9]. - laravel/socialite v3.0.2 requires illuminate/support ~5.4 -> satisfiable by illuminate/support[5.4.x-dev, 5.5.x-dev, v5.4.0, v5.4.13, v5.4.9]. - laravel/socialite v3.0.3 requires illuminate/support ~5.4 -> satisfiable by illuminate/support[5.4.x-dev, 5.5.x-dev, v5.4.0, v5.4.13, v5.4.9]. - don't install illuminate/support 5.4.x-dev|don't install laravel/framework v5.1.45 - don't install illuminate/support 5.5.x-dev|don't install laravel/framework v5.1.45 - don't install illuminate/support v5.4.0|don't install laravel/framework v5.1.45 - don't install illuminate/support v5.4.13|don't install laravel/framework v5.1.45 - don't install illuminate/support v5.4.9|don't install laravel/framework v5.1.45 - Installation request for laravel/framework (locked at v5.1.45, required as 5.1.*) -> satisfiable by laravel/framework[v5.1.45]. 

    1 answer 1

    I got into an empty folder without any problems. According to reports, the problem is related to the Composer settings in the previously installed Laravel. Try first to perform step 2 of the expansion settings:

    1. SERVICE PROVIDER

    Remove Laravel \ Socialite \ SocialiteServiceProvider from the providers [] array in config \ app.php, if it was there (probably it was).

    Add \ SocialiteProviders \ Manager \ ServiceProvider :: class to the array of providers [] in config \ app.php.

    For example:

     'providers' => [ // a whole bunch of providers // remove 'Laravel\Socialite\SocialiteServiceProvider', \SocialiteProviders\Manager\ServiceProvider::class, // add ]; 

    http://socialiteproviders.imtqy.com/providers/vkontakte/#service-provider