mhd-elawi/social-auth

A package for social authentication (Google, Apple, Facebook)

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Forks: 0

pkg:composer/mhd-elawi/social-auth

v1.0.6 2025-04-22 13:59 UTC

This package is not auto-updated.

Last update: 2025-12-30 14:50:54 UTC


README

PHP Version Laravel

A PHP package that provides easy-to-use social authentication (Google, Apple, Facebook) for your application.

Features

  • Google OAuth2 Authentication
  • Apple Sign-In
  • Facebook Login Integration
  • Extensible provider-based architecture
  • Uses Guzzle for HTTP requests
  • JWT-based authentication with firebase/php-jwt

Requirements

  • PHP >= 8.1
  • Laravel >= 8.x (for Laravel integration)
  • firebase/php-jwt >= 6.0
  • guzzlehttp/guzzle >= 7.0
  • vlucas/phpdotenv >= 5.0 (for loading environment variables)

Installation

  • Install the package via Composer:
composer require mhd-elawi/social-auth
  • Publish the package configration:
php artisan vendor:publish --provider="MHD_elawi\SocialAuth\SocialAuthServiceProvider" --tag="social-auth-config"