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

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

cupuyc1989/vkid
===============

VK ID OAuth2 Provider for Laravel Socialite

012PHP

Since Sep 22Pushed 10mo agoCompare

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

READMEChangelog (1)DependenciesVersions (1)Used By (0)

VK ID
=====

[](#vk-id)

```
composer require socialiteproviders/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

17

—

LowBetter than 6% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity14

Early-stage or recently created project

 Bus Factor1

Top contributor holds 66.7% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/34515512?v=4)[Cupuyc1989](/maintainers/cupuyc1989)[@Cupuyc1989](https://github.com/Cupuyc1989)

---

Top Contributors

[![Cupuyc1989](https://avatars.githubusercontent.com/u/34515512?v=4)](https://github.com/Cupuyc1989 "Cupuyc1989 (4 commits)")[![Abac2500](https://avatars.githubusercontent.com/u/66746248?v=4)](https://github.com/Abac2500 "Abac2500 (1 commits)")[![vhar](https://avatars.githubusercontent.com/u/5484416?v=4)](https://github.com/vhar "vhar (1 commits)")

### Embed Badge

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

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

###  Alternatives

[tg/tgwebvalid

An easy way to validate Telegram Login Widget and Telegram Mini App users on your website using PHP

6827.5k1](/packages/tg-tgwebvalid)[vitalybaev/laravel5-dkim

Laravel 5/6 package for signing outgoing messages with DKIM.

3163.1k](/packages/vitalybaev-laravel5-dkim)[denniseilander/laravel-passport-scopes-restriction

Restrict scopes for different Laravel Passport clients.

1636.3k](/packages/denniseilander-laravel-passport-scopes-restriction)

PHPackages © 2026

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