mhd-elawi/social-auth
最新稳定版本:v1.0.6
Composer 安装命令:
composer require mhd-elawi/social-auth
包简介
A package for social authentication (Google, Apple, Facebook)
README 文档
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"
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-01-09