PHPackages                             bherila/auth-laravel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. bherila/auth-laravel

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

bherila/auth-laravel
====================

Shared Laravel authentication services for BWH applications.

v0.5.0(5d ago)00[1 issues](https://github.com/bherila/auth/issues)[1 PRs](https://github.com/bherila/auth/pulls)MITPHPPHP ^8.2CI passing

Since May 4Pushed todayCompare

[ Source](https://github.com/bherila/auth)[ Packagist](https://packagist.org/packages/bherila/auth-laravel)[ RSS](/packages/bherila-auth-laravel/feed)WikiDiscussions main Synced today

READMEChangelog (7)Dependencies (13)Versions (13)Used By (0)

BWH Auth
========

[](#bwh-auth)

Shared authentication packages for BWH Laravel/Vite applications.

This repository contains:

- `ui`: pnpm package `bwh-auth` for React auth UI and browser WebAuthn helpers.
- `php`: Composer package `bherila/auth-laravel` for Laravel auth services, passkeys, migrations, routes, and extension contracts. Its manifest is the repository-root `composer.json` (required for Composer VCS resolution); the source lives under `php/`.

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
---------------

[](#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
----------

[](#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
------------

[](#repositories)

This auth repository is separate from the `bwh-ui` repository under `/Users/bwh/proj/ui`.

###  Health Score

39

—

LowBetter than 85% of packages

Maintenance100

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~4 days

Total

10

Last Release

5d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1422004?v=4)[bherila](/maintainers/bherila)[@bherila](https://github.com/bherila)

---

Top Contributors

[![bherila](https://avatars.githubusercontent.com/u/1422004?v=4)](https://github.com/bherila "bherila (32 commits)")

### Embed Badge

![Health badge](/badges/bherila-auth-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/bherila-auth-laravel/health.svg)](https://phpackages.com/packages/bherila-auth-laravel)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3325.1M337](/packages/psalm-plugin-laravel)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9732.3M121](/packages/roots-acorn)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k14.1M121](/packages/laravel-pulse)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

76518.2M115](/packages/laravel-mcp)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[flarum/core

Delightfully simple forum software.

201.4M2.2k](/packages/flarum-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
