定制 gwl12345/laravel-jetstream-react-shadcn-multilogin 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

gwl12345/laravel-jetstream-react-shadcn-multilogin

Composer 安装命令:

composer create-project gwl12345/laravel-jetstream-react-shadcn-multilogin

包简介

A starter kit for the Laravel framework using Jetstream, Inertia.js, React (TS), and shadcn (Laravel Authentication Styling). Extended with multiple login methods support, magic link authentication, and passkey (Laragear/WebAuthn) login.

README 文档

README

Laravel Logo

Laravel Jetstream React Shadcn Multi-Login

A modern Laravel starter kit with multiple authentication methods

🚀 About

This project extends the excellent Laravel Jetstream React Shadcn starter kit by adding multiple authentication methods for enhanced user experience and security.

🔐 Authentication Methods

  • 🔑 Traditional Form Login - Classic email/password authentication
  • ✨ Magic Link Login - Passwordless authentication via email
  • 🔒 Passkey Authentication - Modern WebAuthn with biometrics, patterns, and security keys

✨ Features

🎨 Modern Tech Stack

🔐 Advanced Authentication

  • Laragear WebAuthn - Passkey authentication (fingerprints, Face ID, security keys)
  • Magic Link Authentication - Secure, passwordless login via email
  • Two-Factor Authentication - Built-in 2FA support via Jetstream
  • Session Management - View and manage active browser sessions
  • Account Security - Password updates, account deletion

🎯 User Experience

  • Tabbed Login Interface - Clean, organized authentication options
  • Responsive Design - Works perfectly on all devices
  • Dark/Light Mode - Theme switching with system preference detection
  • Toast Notifications - Real-time feedback using Sonner
  • Loading States - Smooth interactions with loading indicators

🛡️ Security Features

  • Rate Limiting - Protection against brute force attacks
  • CSRF Protection - Built-in security tokens
  • Encrypted Credentials - WebAuthn public keys encrypted in database
  • Session Security - Secure session management
  • Email Verification - Verified email requirement option

🔐 Authentication Setup

Magic Link Configuration

Magic link authentication is ready to use out of the box. Just ensure your mail configuration is set up correctly in your .env file.

Features:

  • Rate limiting (3 attempts per email/5 minutes)
  • Secure, time-limited tokens
  • Clean email templates
  • Automatic login on link click

WebAuthn/Passkey Setup

Passkeys work with HTTPS in production. For local development:

  1. Use Laravel Valet with TLS (recommended for macOS)

    valet secure your-app-name
  2. Use localhost with appropriate browser flags

  3. Or use Laravel Herd with secure site enabled (SSL) (For Windows/macOS)

Supported Authenticators:

  • 📱 Face ID / Touch ID (iOS/macOS)
  • 🔒 Windows Hello
  • 📱 Android Biometrics
  • 🔑 Hardware Security Keys (YubiKey, etc.)
  • 📱 Platform Authenticators

Adding More Authentication Methods

The tabbed login interface makes it easy to add more authentication methods:

  1. Add a new tab in resources/js/pages/Auth/Login.tsx
  2. Create the corresponding controller
  3. Add routes in routes/web.php
  4. Implement the frontend logic

📁 Project Structure

├── app/
│   ├── Http/Controllers/
│   │   ├── MagicLinkController.php      # Magic link authentication
│   │   ├── PasskeyController.php        # Passkey management
│   │   └── WebAuthn/                    # WebAuthn controllers
│   ├── Models/
│   │   └── User.php                     # Extended user model
│   └── Notifications/
│       └── MagicLinkNotification.php    # Magic link emails
├── resources/js/
│   ├── components/ui/
│   │   └── login-tabs.tsx               # Custom login tabs
│   ├── pages/Auth/
│   │   └── Login.tsx                    # Multi-method login page
│   └── pages/Profile/
│       └── Passkey.tsx                  # Passkey management
└── database/migrations/
    └── *_create_webauthn_credentials.php # WebAuthn database schema

🙏 Acknowledgments

📚 Documentation

gwl12345/laravel-jetstream-react-shadcn-multilogin 适用场景与选型建议

gwl12345/laravel-jetstream-react-shadcn-multilogin 是一款 基于 TypeScript 开发的 Composer 扩展包,目前已累计 13 次下载、GitHub Stars 达 2, 最近一次更新时间为 2025 年 07 月 25 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「framework」 「laravel」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 gwl12345/laravel-jetstream-react-shadcn-multilogin 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 gwl12345/laravel-jetstream-react-shadcn-multilogin 我们能提供哪些服务?
定制开发 / 二次开发

基于 gwl12345/laravel-jetstream-react-shadcn-multilogin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 13
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 18
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 0
  • 开发语言: TypeScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-07-25