PHPackages                             teariot/vkid - 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. teariot/vkid

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

teariot/vkid
============

VK ID OAuth2 Provider for Laravel Socialite

5.1.1(3mo ago)04↓66.7%MITPHPPHP ^8.2

Since Feb 17Pushed 3mo agoCompare

[ Source](https://github.com/TeaRiot/VKID)[ Packagist](https://packagist.org/packages/teariot/vkid)[ RSS](/packages/teariot-vkid/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

VK ID
=====

[](#vk-id)

```
composer require teariot/vkid
```

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

[](#register-an-application)

Add 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)

```
'vkid' => [
  'client_id' => env('VKID_CLIENT_ID'),
  'client_secret' => env('VKID_CLIENT_SECRET'),
  'redirect' => env('VKID_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('vkid', \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('vkid')->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

37

—

LowBetter than 83% of packages

Maintenance82

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

90d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f6607a58ba1ad9fbbdcdf6566b2300b87e38135e8697bebe5a5883b6034eebe?d=identicon)[TeaRiot](/maintainers/TeaRiot)

---

Top Contributors

[![TeaRiot](https://avatars.githubusercontent.com/u/148728335?v=4)](https://github.com/TeaRiot "TeaRiot (3 commits)")[![Abac2500](https://avatars.githubusercontent.com/u/66746248?v=4)](https://github.com/Abac2500 "Abac2500 (1 commits)")[![microinginer](https://avatars.githubusercontent.com/u/1836062?v=4)](https://github.com/microinginer "microinginer (1 commits)")[![serious-angel](https://avatars.githubusercontent.com/u/25136754?v=4)](https://github.com/serious-angel "serious-angel (1 commits)")[![vhar](https://avatars.githubusercontent.com/u/5484416?v=4)](https://github.com/vhar "vhar (1 commits)")

---

Tags

laravelprovideroauthsocialitevkontaktevkid

### Embed Badge

![Health badge](/badges/teariot-vkid/health.svg)

```
[![Health](https://phpackages.com/badges/teariot-vkid/health.svg)](https://phpackages.com/packages/teariot-vkid)
```

###  Alternatives

[socialiteproviders/vkontakte

VKontakte OAuth2 Provider for Laravel Socialite

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

Kakao OAuth2 Provider for Laravel Socialite

10484.7k4](/packages/socialiteproviders-kakao)

PHPackages © 2026

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