PHPackages                             matondojk/filament-social-login - 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. matondojk/filament-social-login

ActiveLibrary

matondojk/filament-social-login
===============================

A beautiful, plug-and-play social login integration for modern Filament PHP panels.

00PHP

Since Jul 28Pushed todayCompare

[ Source](https://github.com/matondojk/filament-social-login)[ Packagist](https://packagist.org/packages/matondojk/filament-social-login)[ RSS](/packages/matondojk-filament-social-login/feed)WikiDiscussions main Synced today

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

Filament Social Login
=====================

[](#filament-social-login)

A beautiful, plug-and-play social login integration for modern Filament PHP panels (v3/v4/v5). Supports Google, Facebook, GitHub, LinkedIn, and Microsoft OAuth seamlessly, and automatically retrieves user avatars.

### Light Mode

[](#light-mode)

[![Light Mode](screens/light.png)](screens/light.png)

### Dark Mode

[](#dark-mode)

[![Dark Mode](screens/dark.png)](screens/dark.png)

Table of Contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Configuration](#configuration)
- [Obtaining Social Credentials](#obtaining-social-credentials)
- [Microsoft &amp; LinkedIn Support](#microsoft--linkedin-support)
- [License](#license)

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

[](#installation)

1. Install the package via composer:

```
composer require matondojk/filament-social-login
```

2. Publish the configuration and migration:

```
php artisan vendor:publish --tag="filament-social-login-config"
php artisan vendor:publish --tag="filament-social-login-migrations"
```

*(You can also publish views and translations if you want to customize them)*

```
php artisan vendor:publish --tag="filament-social-login-views"
php artisan vendor:publish --tag="filament-social-login-translations"
```

3. Run the migrations:

```
php artisan migrate
```

4. Prepare your User Model to accept the new fields and display the Avatar: In `app/Models/User.php`, implement the `HasAvatar` interface:

```
use Filament\Models\Contracts\HasAvatar;

class User extends Authenticatable implements HasAvatar
{
    protected $fillable = [
        'name', 'email', 'password', 'provider', 'provider_id', 'avatar_url' // avatar_url;
    }
}
```

5. Register the plugin in your Panel Provider (e.g., `app/Providers/Filament/AdminPanelProvider.php`):

```
use Matondojk\FilamentSocialLogin\FilamentSocialLoginPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugin(FilamentSocialLoginPlugin::make())
        // ...
}
```

Configuration
-------------

[](#configuration)

In your `.env` file, you can enable/disable providers and set your credentials. Only enabled providers will be shown on the login screen. The package automatically injects these into `config/services.php` for you!

```
SOCIAL_LOGIN_REDIRECT=/admin

SOCIAL_LOGIN_GOOGLE_ENABLED=true
SOCIAL_LOGIN_FACEBOOK_ENABLED=false
SOCIAL_LOGIN_GITHUB_ENABLED=false
SOCIAL_LOGIN_LINKEDIN_ENABLED=true
SOCIAL_LOGIN_MICROSOFT_ENABLED=true

GOOGLE_CLIENT_ID=your-client-id
GOOGLE_CLIENT_SECRET=your-client-secret
GOOGLE_REDIRECT_URI="${APP_URL}/auth/google/callback"
```

Obtaining Social Credentials
----------------------------

[](#obtaining-social-credentials)

For instructions on how to create the OAuth apps and obtain the `CLIENT_ID` and `CLIENT_SECRET` for each provider, please refer to the official [Laravel Socialite Documentation (v13.x)](https://laravel.com/docs/13.x/socialite).

*Note: Ensure your exact `REDIRECT_URI` (e.g., `https://your-app.com/auth/google/callback`) is added to the allowed redirect URIs in the provider's developer console!*

Microsoft &amp; LinkedIn Support
--------------------------------

[](#microsoft--linkedin-support)

This package relies on Laravel Socialite natively for Google, Facebook and GitHub. For Microsoft and LinkedIn OpenID, be sure to install the community providers if you need them:

```
composer require socialiteproviders/microsoft socialiteproviders/linkedin-openid
```

License
-------

[](#license)

MIT

###  Health Score

20

—

LowBetter than 12% of packages

Maintenance65

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/226063395?v=4)[Matondo João](/maintainers/matondojk)[@matondojk](https://github.com/matondojk)

---

Top Contributors

[![matondojk](https://avatars.githubusercontent.com/u/226063395?v=4)](https://github.com/matondojk "matondojk (5 commits)")

---

Tags

fillamentfillament-phplaravelloginsocial-login

### Embed Badge

![Health badge](/badges/matondojk-filament-social-login/health.svg)

```
[![Health](https://phpackages.com/badges/matondojk-filament-social-login/health.svg)](https://phpackages.com/packages/matondojk-filament-social-login)
```

PHPackages © 2026

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