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
Requires
- php: ^8.1
- firebase/php-jwt: ^6.0
- guzzlehttp/guzzle: ^7.0
- illuminate/support: ^8.0 || ^9.0 || ^10.0 | ^11.0
- vlucas/phpdotenv: ^5.0
Requires (Dev)
- mockery/mockery: ^1.6
- phpunit/phpunit: 10.0
README
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.0guzzlehttp/guzzle>= 7.0vlucas/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"