revolution/socialite-wordpress
Socialite for WordPress
13,890
4
Larablocks Analysis
revolution/socialite-wordpress works with Laravel 12 and 13 (latest release 1.3.1, Oct 2, 2024).
Recommendation checks
Use with careUse with care: meets 1 of 4 checks.
- Works with Laravel 13, the current version
- No release in the last 12 months (last: Oct 2, 2024)
- 48 downloads a month (needs 10,000)
- 4 GitHub stars (needs 100)
State
Quiet- Last stable release: Oct 2, 2024.
- No releases in the last 12 months.
- First released: Feb 1, 2019.
- Monthly downloads: 48.
- 2 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 27, 2026.
| Install | |
|---|---|
composer require revolution/socialite-wordpress |
|
| Latest Version: | 1.3.1 |
| PHP: | ^8.0 |
| Laravel: | 12 · 13 |
| License: | MIT |
| Last Updated: | Jul 20, 2026 |
| Links: | GitHub · Packagist |
Maintainer: revolution
Socialite for WordPress
WordPress.com and Self-hosted WordPress.
For Self-hosted WordPress
You must install WP OAuth Server plugin.
https://wordpress.org/plugins/oauth2-provider/
Requirements
- PHP >= 8.0
No version restrictions. It may stop working in future versions.
Installation
composer require revolution/socialite-wordpress
config/services.php
'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
WORDPRESS_HOST=https://example.com/oauth
#WORDPRESS_API_ME=
WORDPRESS_CLIENT_ID=
WORDPRESS_CLIENT_SECRET=
WORDPRESS_REDIRECT=
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
https://github.com/kawax/socialite-project
LICENCE
MIT
Copyright kawax
Related Packages
josh-taylor/sage-svg
WordPress package to enable a blade directive to use SVG images inline with Sage...
46,862
18
Version History
| Version | Released | PHP | License |
|---|---|---|---|
| 1.3.1 | ^8.0 | MIT | |
| 1.3.0 | ^8.0 | MIT | |
| 1.2.2 | ^7.2|| | MIT | |
| 1.2.1 | ^7.2 | MIT | |
| 1.2.0 | ^7.2 | MIT | |
| 1.1.0 | >=7.1.3 | MIT | |
| 1.0.0 | >=7.0.0 | MIT |