Download the PHP package sameoldnick/laravel-oauth without Composer
On this page you can find all versions of the php package sameoldnick/laravel-oauth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sameoldnick/laravel-oauth
More information about sameoldnick/laravel-oauth
Files in sameoldnick/laravel-oauth
Package laravel-oauth
Short Description Integrates Laravel Socialite with your app’s auth.
License MIT
Homepage https://github.com/sameoldnick/laravel-oauth
Informations about the package laravel-oauth
Laravel OAuth
Integrates Laravel Socialite with your app's authentication flow, including account linking, account relinking, registration/login gate checks, and stack-specific response handling.
Features
- Built-in OAuth flow routes and handlers
- Built-in clients: GitHub, Google, Twitter
- Uses
config/oauth.php(instead ofconfig/services.php) for provider credentials - Account linking table + model (
oauth_providers) - Install command to scaffold app-owned OAuth services and responses
- Contracts for full customization (gate checks, user resolver, registrar, response types)
- Events for connected/disconnected/signed-in lifecycle hooks
- Testing helpers via
OAuth::fake()
Requirements
- PHP 8.4+
- Laravel 11.x, 12.x, or 13.x
laravel/socialite5.27+
Installation
-
Install the package:
-
Publish config and migrations:
-
Run migrations:
-
Scaffold app-level OAuth services and responses:
-
Add provider credentials to
.env(examples): - Ensure the generated app provider is registered.
The install command attempts to add App\Providers\OAuthServiceProvider::class to bootstrap/providers.php. If not added automatically, register it manually.
Wiki
All extended documentation lives in the wiki.
All versions of laravel-oauth with dependencies
illuminate/contracts Version ^11.0||^12.0||^13.0
laravel/socialite Version ^5.27