PHPackages                             revolution/socialite-wordpress - 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. revolution/socialite-wordpress

ActiveLibrary

revolution/socialite-wordpress
==============================

Socialite for WordPress

1.3.1(1y ago)411.3k↓13.9%3[2 issues](https://github.com/invokable/socialite-wordpress/issues)MITPHPPHP ^8.0CI passing

Since Feb 1Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/invokable/socialite-wordpress)[ Packagist](https://packagist.org/packages/revolution/socialite-wordpress)[ GitHub Sponsors](https://github.com/invokable)[ RSS](/packages/revolution-socialite-wordpress/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (4)Versions (9)Used By (0)

Socialite for WordPress
=======================

[](#socialite-for-wordpress)

WordPress.com and Self-hosted WordPress.

For Self-hosted WordPress
-------------------------

[](#for-self-hosted-wordpress)

You must install WP OAuth Server plugin.

Requirements
------------

[](#requirements)

- PHP &gt;= 8.0

> No version restrictions. It may stop working in future versions.

Installation
------------

[](#installation)

```
composer require revolution/socialite-wordpress

```

### config/services.php

[](#configservicesphp)

```
    'wordpress' => [
        // Endpoint for WordPress.com
        // 'host'          => env('WORDPRESS_HOST', 'https://public-api.wordpress.com/oauth2'),
        // 'api_me'        => env('WORDPRESS_API_ME', 'https://public-api.wordpress.com/rest/v1.1/me'),

        // Endpoint for Self-hosted WordPress
        'host'   => env('WORDPRESS_HOST'),
        'api_me' => env('WORDPRESS_API_ME', env('WORDPRESS_HOST') . '/me/'),

        'client_id'     => env('WORDPRESS_CLIENT_ID'),
        'client_secret' => env('WORDPRESS_CLIENT_SECRET'),
        'redirect'      => env('WORDPRESS_REDIRECT'),
    ],
```

### .env

[](#env)

```
WORDPRESS_HOST=https://example.com/oauth
#WORDPRESS_API_ME=
WORDPRESS_CLIENT_ID=
WORDPRESS_CLIENT_SECRET=
WORDPRESS_REDIRECT=

```

Usage
-----

[](#usage)

routes/web.php

```
Route::get('login', [SocialiteController::class, 'login']);
Route::get('callback', [SocialiteController::class, 'callback']);
```

SocialiteController

```
namespace App\Http\Controllers;

use Illuminate\Http\Request;
use Socialite;

class SocialiteController extends Controller
{
    public function login()
    {
        return Socialite::driver('wordpress')->redirect();
    }

    public function callback()
    {
        $user = Socialite::driver('wordpress')->user();
        dd($user);
    }
}
```

Demo
----

[](#demo)

LICENCE
-------

[](#licence)

MIT

Copyright kawax

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance43

Moderate activity, may be stable

Popularity31

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 84.6% 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 ~345 days

Recently: every ~437 days

Total

7

Last Release

594d ago

PHP version history (5 changes)1.0.0PHP &gt;=7.0.0

1.1.0PHP &gt;=7.1.3

1.2.0PHP ^7.2

1.2.2PHP ^7.2||^8.0

1.3.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/77618633?v=4)[Revolution](/maintainers/revolution)[@Revolution](https://github.com/Revolution)

---

Top Contributors

[![kawax](https://avatars.githubusercontent.com/u/1502086?v=4)](https://github.com/kawax "kawax (22 commits)")[![devin-ai-integration[bot]](https://avatars.githubusercontent.com/in/811515?v=4)](https://github.com/devin-ai-integration[bot] "devin-ai-integration[bot] (3 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")

---

Tags

socialitelaravelwordpresssocialite

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/revolution-socialite-wordpress/health.svg)

```
[![Health](https://phpackages.com/badges/revolution-socialite-wordpress/health.svg)](https://phpackages.com/packages/revolution-socialite-wordpress)
```

###  Alternatives

[socialiteproviders/manager

Easily add new or override built-in providers in Laravel Socialite.

42542.0M544](/packages/socialiteproviders-manager)[andrewdwallo/filament-companies

A comprehensive Laravel authentication and authorization system designed for Filament, focusing on multi-tenant company management.

34450.0k2](/packages/andrewdwallo-filament-companies)[schedula/laravel-passport-socialite

The missing laravel passport feature for social authentication

4822.6k](/packages/schedula-laravel-passport-socialite)[revolution/socialite-mastodon

Socialite for Mastodon

13203.2k1](/packages/revolution-socialite-mastodon)[revolution/laravel-bluesky

Bluesky(AT Protocol) for Laravel

4317.3k](/packages/revolution-laravel-bluesky)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)

PHPackages © 2026

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