PHPackages                             tyler36/social-auth - 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. tyler36/social-auth

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

tyler36/social-auth
===================

Social Authentication

0.3(4y ago)032PHP

Since Sep 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/tyler36/social-auth)[ Packagist](https://packagist.org/packages/tyler36/social-auth)[ RSS](/packages/tyler36-social-auth/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (3)Versions (2)Used By (0)

Introduction
============

[](#introduction)

A simple package to add authentication via Socialite

User Flow
---------

[](#user-flow)

Route: `login.sns`- Validate provider - Send user to provider (expects callback)

Route: `login.sns.callback`- Validate provider - Create / Update User - Login if valid

Setup
-----

[](#setup)

- Install package

```
composer require tyler36/social-auth

```

- Publish assets

```
php artisan vendor:publish --provider=Tyler36\SocialAuth\SocialAuthServiceProvider

```

- Run migration

```
php artisan migrate

```

- Add social-auth routes to `./routes/web.php`

```
require __DIR__.'/socialauth.php';

```

- Adding providers. Create API key information for each provider you would like to you. Each provider requires a `client_id`, `client_secret`, &amp; `client_callback_url`. A selection of some providers API website can be found in `resources/lang/vendor/en/message.php` file.
- Update the services config file For security, it is recommended to add this to your `ENV`` file, then add/update the section in you `config/services.php``` file. EG.:

```
    'github' => [
        'client_id'     => env('GITHUB_CLIENT_ID'),
        'client_secret' => env('GITHUB_CLIENT_SECRET'),
        'redirect'      => env('GITHUB_CALLBACK_URL'),
    ],

```

- Update the package config file You will also need to add an entry into the `config/socialauth` file before this package recognizes the provider as valid. EG.:

```
 'github' => true

```

- Update factories. If you use model factories, you should update them

Testing
-------

[](#testing)

There are some (basic) tests.

```
phpunit .\vendor\tyler36\social-auth\tests

```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 56% 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

Unknown

Total

1

Last Release

1743d ago

### Community

Maintainers

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

---

Top Contributors

[![s-hendrix-iqnet](https://avatars.githubusercontent.com/u/180614482?v=4)](https://github.com/s-hendrix-iqnet "s-hendrix-iqnet (14 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")[![tyler36](https://avatars.githubusercontent.com/u/7234392?v=4)](https://github.com/tyler36 "tyler36 (3 commits)")

---

Tags

laravellaravel-packageoauth

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tyler36-social-auth/health.svg)

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

###  Alternatives

[socialiteproviders/manager

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

42745.6M575](/packages/socialiteproviders-manager)[dutchcodingcompany/filament-socialite

Social login for Filament through Laravel Socialite

2191.1M10](/packages/dutchcodingcompany-filament-socialite)[genealabs/laravel-sign-in-with-apple

Add Apple's new single-signon feature to your site with ease.

481643.6k](/packages/genealabs-laravel-sign-in-with-apple)[genealabs/laravel-socialiter

Automatically manage user persistence and resolution for any Laravel Socialite provider.

134421.5k](/packages/genealabs-laravel-socialiter)[andrewdwallo/filament-companies

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

35254.9k2](/packages/andrewdwallo-filament-companies)[mikebronner/laravel-sign-in-with-apple

Add Apple's new single-signon feature to your site with ease.

4817.6k](/packages/mikebronner-laravel-sign-in-with-apple)

PHPackages © 2026

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