PHPackages                             pacificdev/social-login-for-laravel - 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. pacificdev/social-login-for-laravel

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

pacificdev/social-login-for-laravel
===================================

Login with Linkedin for Laravel applications

v1.0.2(1y ago)21171[2 issues](https://github.com/fabiopacificicom/social-login-for-laravel/issues)[1 PRs](https://github.com/fabiopacificicom/social-login-for-laravel/pulls)MITPHPPHP ^8.2

Since Jun 13Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/fabiopacificicom/social-login-for-laravel)[ Packagist](https://packagist.org/packages/pacificdev/social-login-for-laravel)[ RSS](/packages/pacificdev-social-login-for-laravel/feed)WikiDiscussions main Synced 1mo ago

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

Social Login for Laravel
========================

[](#social-login-for-laravel)

This package adds a social login component that can be used to log users using linkedin

Features
--------

[](#features)

- Log the user using Linkedin

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

[](#requirements)

To use this package you need to create a linkedin application and get the following creadentials

- LINKEDIN\_CLIENT\_ID
- LINKEDIN\_CLIENT\_SECRET

### Create a linkedin app

[](#create-a-linkedin-app)

Watch the video below for a step by step guide on how to add a linkedin login to your laravel app using this package.

[![How To](https://camo.githubusercontent.com/76ccd6ed8b76831b9de008634663945349b8b572d2ec5f7b248f7f696f39d047/68747470733a2f2f696d672e796f75747562652e636f6d2f76692f7458384e457757736663672f302e6a7067)](https://www.youtube.com/watch?v=tX8NEwWsfcg)

You can find the instructions to create a new linkedin app in the official documentation [here](https://www.linkedin.com/help/linkedin/answer/a1667239)

✅ Services to enable:

When you create the linkedin app you need to activate the following services in the Products tab:

- 1. OpenId connect, [read more](https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2)
- 2. Share on Linkedin [read more](https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/share-on-linkedin)

Usage
-----

[](#usage)

**Install the composer package**:

The first step is to install the package in your laravel application.

```
composer require pacificdev/social-login-for-laravel
```

Add the social login component in the login and register pages as shown below

```
// login.blade.php

```

```
// register.blade.php

```

Add the linkedin service

```
#config/services.php
 'linkedin-openid' => [
        'client_id' => env('LINKEDIN_CLIENT_ID'),
        'client_secret' => env('LINKEDIN_CLIENT_SECRET'),
        'redirect' => env('LINKEDIN_REDIRECT_URL', '/linkedin/auth/callback'),
    ],
```

Publish the package files
-------------------------

[](#publish-the-package-files)

If you need to make changes to the package config file, views or migrations you can publish them using the following commands:

```
# publish the config file
php artisan vendor:publish --tag=pacificdev-social-login-config
# publish the views
php artisan vendor:publish --tag=pacificdev-social-login-views
# publish the migrations
php artisan vendor:publish --tag=pacificdev-social-login-migrations
```

Roadmap
-------

[](#roadmap)

- Linkedin Login
- Google Login

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.9% 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 ~1 days

Total

3

Last Release

702d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/47fa4d40bc4e0ec4f70aa3d3b35cd51ee1b2f8c7d9dcdb4d3cdd67dd9fc15beb?d=identicon)[fabiopacifici](/maintainers/fabiopacifici)

---

Top Contributors

[![fabiopacifici](https://avatars.githubusercontent.com/u/72492598?v=4)](https://github.com/fabiopacifici "fabiopacifici (10 commits)")[![claireoe](https://avatars.githubusercontent.com/u/142216709?v=4)](https://github.com/claireoe "claireoe (1 commits)")

---

Tags

laravelloginsociallinkedin

### Embed Badge

![Health badge](/badges/pacificdev-social-login-for-laravel/health.svg)

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

###  Alternatives

[socialiteproviders/manager

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

42542.0M544](/packages/socialiteproviders-manager)[auth0/login

Auth0 Laravel SDK. Straight-forward and tested methods for implementing authentication, and accessing Auth0's Management API endpoints.

2745.0M3](/packages/auth0-login)[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)[mmanos/laravel-social

A social login package for Laravel 4.

556.8k](/packages/mmanos-laravel-social)[mad-web/laravel-social-auth

Easy social auth integration with a lot of available providers

516.7k](/packages/mad-web-laravel-social-auth)[alajusticia/laravel-logins

Session management in Laravel apps, user notifications on new access, support for multiple separate remember tokens, IP geolocation, User-Agent parser

2011.0k](/packages/alajusticia-laravel-logins)

PHPackages © 2026

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