PHPackages                             webchemistry/oauth-social - 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. webchemistry/oauth-social

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

webchemistry/oauth-social
=========================

v1.3.4(9mo ago)03.2k↓75%PHP

Since Dec 12Pushed 9mo ago1 watchersCompare

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

READMEChangelog (9)Dependencies (7)Versions (10)Used By (0)

Usage
-----

[](#usage)

Nette extension:

```
extensions:
	oAuthSocial: WebChemistry\OAuthSocial\DI\OAuthSocialExtension

oAuthSocial:
	google:
		id: 'clientId'
		secret: 'clientSecret'
		instances:
			login: 'Module:Presenter:redirection'
	linkedIn:
		id: 'clientId'
		secret: 'clientSecret'
		instances:
			login: 'Module:Presenter:redirection'
```

Presenter

```
class Presenter
{

	/** @var GoogleOAuthAccessor @inject */
	public GoogleOAuthAccessor $googleOAuthAccessor;

	public function actionLogin(?string $backlink): void
	{
		$this->redirectUrl($this->googleOAuthAccessor->get('login')->getAuthorizationUrl([
			'backlink' => $backlink,
		]));
	}

	public function actionRedirection(): void
	{
		try {
			$identity = $this->googleOAuthAccessor->get('login')->getIdentityAndVerify();

		} catch (OAuthSocialException $exception) {
			$this->flashMessage($exception->getMessage(), 'error');

			$this->redirect('Homepage:');
		} catch (Throwable $exception) {
			$this->flashMessage('Something gone wrong.', 'error');

			$this->redirect('Homepage:');
		}

	}

}
```

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance57

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Every ~212 days

Recently: every ~340 days

Total

9

Last Release

286d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/312e788a47a251e05734378921d4596a91819b7de416fa18e77aa69e08798ea8?d=identicon)[Antik](/maintainers/Antik)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/webchemistry-oauth-social/health.svg)

```
[![Health](https://phpackages.com/badges/webchemistry-oauth-social/health.svg)](https://phpackages.com/packages/webchemistry-oauth-social)
```

###  Alternatives

[axepress/wp-graphql-headless-login

A WordPress plugin that provides headless login and authentication for WPGraphQL

10512.9k](/packages/axepress-wp-graphql-headless-login)[fof/oauth

Allow users to log in with GitHub, Facebook, Google, Discord, GitLab, LinkedIn, and more!

50118.7k41](/packages/fof-oauth)[dukt/social

Let your visitors log into Craft with web services like Facebook, Google, Twitter…

1141.0k5](/packages/dukt-social)

PHPackages © 2026

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