bursteri/socialstream 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

bursteri/socialstream

Composer 安装命令:

composer require bursteri/socialstream

包简介

OAuth for Laravel, simplified. Fork of joelbutcher/socialstream with Laravel 13 support.

README 文档

README

Community-maintained fork of joelbutcher/socialstream with Laravel 13 support.

OAuth for Laravel Breeze, Jetstream and Filament -- simplified.

Why this fork?

The original Socialstream was archived when Laravel dropped Breeze and Jetstream from the official installer. But plenty of projects still use these stacks and need a solid OAuth integration. This fork keeps the package alive and compatible with the latest Laravel releases.

Requirements

  • PHP 8.3+
  • Laravel 11, 12 or 13
  • Laravel Socialite 5.18+

Installation

composer require bursteri/socialstream

The package auto-discovers its service provider. No manual registration needed.

Supported stacks

  • Laravel Breeze (Blade, Inertia with Vue/React)
  • Laravel Jetstream (Livewire, Inertia)
  • Filament

Supported providers

Bitbucket, Facebook, GitHub, GitLab, Google, LinkedIn, LinkedIn OpenID, Slack, Twitter (OAuth 1.0 and 2.0).

You can also register custom providers via Socialite's built-in extension system.

Setup

Publish the config, migrations, actions and routes:

php artisan socialstream:install

Then add providers to config/socialstream.php:

use JoelButcher\Socialstream\Providers;

'providers' => [
    Providers::google(),
    Providers::github(),
],

And configure your credentials in config/services.php as you normally would with Socialite:

'github' => [
    'client_id' => env('GITHUB_CLIENT_ID'),
    'client_secret' => env('GITHUB_CLIENT_SECRET'),
    'redirect' => '/oauth/github/callback',
],

Features

Toggle features in config/socialstream.php:

use JoelButcher\Socialstream\Features;

'features' => [
    Features::createAccountOnFirstLogin(),
    Features::generateMissingEmails(),
    Features::globalLogin(),
    Features::authExistingUnlinkedUsers(),
    Features::rememberSession(),
    Features::providerAvatars(),
    Features::refreshOAuthTokens(),
],

Migrating from joelbutcher/socialstream

  1. Replace the package in composer.json:
    composer remove joelbutcher/socialstream
    composer require bursteri/socialstream
  2. That's it. The namespace (JoelButcher\Socialstream) is unchanged, so all your imports, config references, and published actions continue to work.

Original documentation

For detailed usage guides, refer to the original docs at docs.socialstream.dev.

Credits

License

MIT. See LICENSE.md.

统计信息

  • 总下载量: 5.15k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 9
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 73
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-04-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固