PHPackages                             skvn/sociopat - 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. skvn/sociopat

ActiveLibrary

skvn/sociopat
=============

Laravel Package extending Laravel Socialite and 3rd party providers for managing social networks actions like login, publish a post, etc.

0101PHP

Since Jun 22Pushed 9y ago3 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

UNDER development
=================

[](#under-development)

1. Installation
---------------

[](#1-installation)

`composer require skvn/sociopat`

After the package is installed run

`php artisan vendor:publish --provider="Skvn\Sociopat\SociopatServiceProvider"`

2. Service Provider
-------------------

[](#2-service-provider)

- If Installed Socialite previously, remove `Laravel\Socialite\SocialiteServiceProvider` from your `providers[]` array in `config\app.php` if you have added it already.
- Add `Skvn\Sociopat\SociopatServiceProvider` to your `providers[]` array in `config\app.php`.

For example:

```
'providers' => [
    // a whole bunch of providers
    // remove 'Laravel\Socialite\SocialiteServiceProvider',
    Skvn\Sociopat\SociopatServiceProvider::class, // add
];
```

- Note: If you would like to use the Socialite Facade, you need to [install it](http://laravel.com/docs/5.2/authentication#social-authentication).

3. Configuration
----------------

[](#3-configuration)

Add the credentials for the the providers you are going to use

#### Facebook

[](#facebook)

#### VK

[](#vk)

#### Mail.ru

[](#mailru)

Add to `config/services.php`:

```
'mailru' => [
    'client_id' => env('MAILRU_ID'),
    'client_secret' => env('MAILRU_SECRET'),
    'redirect' => env('MAILRU_REDIRECT'),
],
```

Append provider values to your `.env` file:

```
// other values above
MAILRU_ID=your_app_id_for_the_service
MAILRU_SECRET=your_app_secret_for_the_service
MAILRU_REDIRECT=https://example.com/login

```

#### Odnoklassniki

[](#odnoklassniki)

Add to `config/services.php`:

```
'odnoklassniki' => [
    'client_id' => env('ODNOKLASSNIKI_ID'),
    'client_secret' => env('ODNOKLASSNIKI_SECRET'),
    'redirect' => env('ODNOKLASSNIKI_REDIRECT'),
],
```

Append provider values to your `.env` file: **Note: Add both public and secret keys!**

```
// other values above
ODNOKLASSNIKI_ID=your_app_id_for_the_service
ODNOKLASSNIKI_PUBLIC=your_app_public_for_the_service
ODNOKLASSNIKI_SECRET=your_app_secret_for_the_service
ODNOKLASSNIKI_REDIRECT=https://example.com/login

```

Usage
-----

[](#usage)

### Login

[](#login)

For login examples please refer to the Laravel Socialite documentation

Also you an article in Russian is available.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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://www.gravatar.com/avatar/5f2a402c3534f081da8051ce42320a03b860f4b40d19767538e2649223eef2f4?d=identicon)[skvn](/maintainers/skvn)

### Embed Badge

![Health badge](/badges/skvn-sociopat/health.svg)

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

PHPackages © 2026

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