PHPackages                             qpkq/vk-id - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. qpkq/vk-id

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

qpkq/vk-id
==========

VKID Provider for Laravel Socialite

v1.0.0(7mo ago)0103MITPHPPHP ^8.1

Since Sep 24Pushed 7mo agoCompare

[ Source](https://github.com/qpkq/vk-id)[ Packagist](https://packagist.org/packages/qpkq/vk-id)[ RSS](/packages/qpkq-vk-id/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

[![PHP Version](https://camo.githubusercontent.com/4c53b738e7a3c4c739bea0e1ea2f8563bd2b4ba3e85b3b2d7b5915bc0455cea6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f71706b712f766b2d6964)](https://packagist.org/packages/qpkq/vk-id)[![Latest Stable Version](https://camo.githubusercontent.com/f507c36fb621cae5b3931ea57bb09647a035d01ceea383d8f2a29ecb4cc5382f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f71706b712f766b2d69643f6c6162656c3d737461626c65)](https://packagist.org/packages/qpkq/vk-id)[![License](https://camo.githubusercontent.com/f9d9fe5add62add50e5d5e901dfebda825c995a331aa0c3558589cbf18106ff2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f71706b712f766b2d6964)](https://packagist.org/packages/qpkq/vk-id)

VK ID Provider for Laravel Socialite
====================================

[](#vk-id-provider-for-laravel-socialite)

```
composer require qpkq/vkid
```

Register an application
-----------------------

[](#register-an-application)

Create new application at [vk.ru](https://id.vk.ru/about/business/go).

Installation &amp; Basic Usage
------------------------------

[](#installation--basic-usage)

Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), then follow the provider specific instructions below.

### Add configuration to `config/services.php`

[](#add-configuration-to-configservicesphp)

```
'VK_ID' => [
  'client_id' => env('VK_ID_CLIENT_ID'),
  'client_secret' => env('VK_ID_CLIENT_SECRET'),
  'redirect' => env('VK_ID_REDIRECT_URI')
],
```

### Add provider event listener

[](#add-provider-event-listener)

#### Laravel 11+

[](#laravel-11)

In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method.

- Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers.

```
Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) {
    $event->extendSocialite('VK_ID', \SocialiteProviders\VKID\Provider::class);
});
```

Laravel 10 or below Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions.

```
protected $listen = [
    \SocialiteProviders\Manager\SocialiteWasCalled::class => [
        // ... other providers
        \SocialiteProviders\VKID\VKIDExtendSocialite::class.'@handle',
    ],
];
```

### Usage

[](#usage)

You should now be able to use the provider like you would regularly use Socialite (assuming you have the facade installed):

```
return Socialite::driver('VK_ID')->redirect();
```

### Returned User fields

[](#returned-user-fields)

- `id`
- `name`
- `email`
- `avatar`

### Reference

[](#reference)

- [VK ID Reference](https://id.vk.ru/about/business/go/docs/ru/vkid/latest/methods)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance62

Regular maintenance activity

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

236d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/50154e1bb7d4919e1b702f00421a69110884ed7378721990259d70dca59ccf02?d=identicon)[qpkq](/maintainers/qpkq)

---

Top Contributors

[![qpkq](https://avatars.githubusercontent.com/u/126476687?v=4)](https://github.com/qpkq "qpkq (4 commits)")

---

Tags

laraveloauthsocialitevkvkontaktevkidsocialiteproviders

### Embed Badge

![Health badge](/badges/qpkq-vk-id/health.svg)

```
[![Health](https://phpackages.com/badges/qpkq-vk-id/health.svg)](https://phpackages.com/packages/qpkq-vk-id)
```

###  Alternatives

[socialiteproviders/vkontakte

VKontakte OAuth2 Provider for Laravel Socialite

881.0M7](/packages/socialiteproviders-vkontakte)[socialiteproviders/microsoft

Microsoft OAuth2 Provider for Laravel Socialite

326.1M13](/packages/socialiteproviders-microsoft)[socialiteproviders/instagram

Instagram OAuth2 Provider for Laravel Socialite

421.9M5](/packages/socialiteproviders-instagram)[kovah/laravel-socialite-oidc

OpenID Connect OAuth2 Provider for Laravel Socialite

2073.7k](/packages/kovah-laravel-socialite-oidc)[socialiteproviders/kakao

Kakao OAuth2 Provider for Laravel Socialite

10484.7k4](/packages/socialiteproviders-kakao)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
