socialiteproviders/generators

Laravel Artisan Generators for OAuth1/OAuth2 Providers
499,497 64
Install
composer require socialiteproviders/generators
Latest Version:4.8.0
PHP:^8.0
Laravel:11 · 12 · 13
License:MIT
Last Updated:Feb 21, 2026
Links: GitHub  ·  Packagist
Maintainer: m1guelpf

Artisan Generators for OAuth1/OAuth2 Providers

Scrutinizer Code Quality Latest Stable Version Total Downloads Latest Unstable Version License

Contents

About

A Laravel Package to generate OAuth1/OAuth2 Providers that are compatible with the Socialite Providers Manager.

Installation

1. Composer

composer require socialiteproviders/generators

2. Service Provider

Add the ServiceProvider to the providers array in the config/app.php.

'providers' => [
    SocialiteProviders\Generators\GeneratorsServiceProvider::class,
],

Usage

Generate OAuth1 Provider

php artisan make:socialite Dropbox --spec=oauth1 --author=YourName --email=your@name.com

Generate OAuth1 Provider with URLs

php artisan make:socialite Dropbox --spec=oauth1 --author=YourName --email=your@name.com --request_token_url=http://myapp.io/oauth/request_token --authorize_url=http://myapp.io/oauth/authorize --access_token_url=http://myapp.io/oauth/access_token --user_details_url=http://myapp.io/users/me

Generate OAuth2 Provider

php artisan make:socialite Dropbox --spec=oauth2 --author=YourName --email=your@name.com

Generate OAuth2 Provider with URLs and Scope

php artisan make:socialite Dropbox --spec=oauth2 --author=YourName --email=your@name.com --scopes=basic --authorize_url=http://myapp.io/oauth/authorize --access_token_url=http://myapp.io/oauth/access_token --user_details_url=http://myapp.io/users/me

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

641,106,524 9,700
laravel/framework

The Laravel Framework.

593,882,149 34,959
laravel/tinker

Powerful REPL for the Laravel framework.

502,645,077 7,441
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

418,291,778 609
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

394,964,158 4,660

Version History

Version Released PHP Laravel License
4.8.0 ^8.0 ^11.0 || ^12.0 || ^13.0 MIT
v4.7.0 ^8.0 ^9.0 || ^10.0 || ^11.0 MIT
v4.6.3 ^7.3|^8.0 ^7.0|^8.0|^9.0|^10.0 MIT
v4.6.2 ^7.3|^8.0 ^7.0|^8.0|^9.0 MIT
v4.6.1 ^5.6 || ^7.0 5.5.* || 5.6.* || 5.7.* || 5.8.* || ^6.0 || ^7.0 || ^8.0 MIT