bherila/auth-laravel
Composer 安装命令:
composer require bherila/auth-laravel
包简介
Shared Laravel authentication services for BWH applications.
README 文档
README
Shared authentication packages for BWH Laravel/Vite applications.
This repository contains:
ui: pnpm packagebwh-authfor React auth UI and browser WebAuthn helpers.php: Composer packagebherila/auth-laravelfor Laravel auth services, passkeys, migrations, routes, and extension contracts. Its manifest is the repository-rootcomposer.json(required for Composer VCS resolution); the source lives underphp/.
The packages intentionally keep app-specific policy outside the shared core. Apps decide whether a user can log in, where they go after login, and how audit events are recorded.
Laravel apps that own their primary /login route must wire package opt-in features into that controller. For example, enabling the audit-log-backed throttle config does not by itself enforce lockout on a custom login controller; the app must call the Laravel package's throttle trait or contract before attempting credentials. See php/README.md.
UI Installation
bwh-auth is installed from GitHub Releases:
pnpm add https://github.com/bherila/auth/releases/download/bwh-auth-v0.2.0/bwh-auth-0.2.0.tgz
Each consuming app injects its own shadcn/Base UI components into bwh-auth.
UI Release
From ui/:
pnpm release patch
The script builds, packs, tags, uploads the release asset with gh, and prints
the tarball URL to use in consumers.
Repositories
This auth repository is separate from the bwh-ui repository under /Users/bwh/proj/ui.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-19