PHPackages                             net-code/laravel-identity - 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. net-code/laravel-identity

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

net-code/laravel-identity
=========================

Reusable, Sanctum-based authentication for Laravel — registration, login, password reset, TOTP two-factor, invitations, and social login — built with hexagonal ports &amp; adapters.

v0.3.0(1mo ago)00MITPHPPHP ^8.5

Since Jul 11Pushed 1mo agoCompare

[ Source](https://github.com/Net-Tech-Marek-Rode-Sp-z-o-o/laravel-identity)[ Packagist](https://packagist.org/packages/net-code/laravel-identity)[ RSS](/packages/net-code-laravel-identity/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (17)Versions (5)Used By (0)

net-code/laravel-identity
=========================

[](#net-codelaravel-identity)

Reusable, Sanctum-based **authentication** for Laravel — users, registration, login and sessions, built with hexagonal ports &amp; adapters. Authorization (roles/permissions) is a separate concern → `net-code/laravel-access`.

```
composer require net-code/laravel-identity
php artisan migrate
```

- **`docs/usage.md`** — install, config, ports, wiring.
- **`docs/flows.md`** — the end-to-end flows.

v1 scope
--------

[](#v1-scope)

Register · login · logout / logout-all · `/me` · password reset · TOTP two-factor (enable/confirm/ disable, recovery codes, login challenge) · invitations (invite / accept / revoke, typed acceptance hook) · social login &amp; account linking (Socialite behind a port, verified-email-only auto-link) · the `CurrentUser` port. Realm-aware schema (single realm by default).

License
-------

[](#license)

MIT

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance90

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity44

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 ~0 days

Total

4

Last Release

50d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e1537b84454509a8f558fa6772528d6ef0942cd74e39c5224ae39e41ea9c841e?d=identicon)[mrode-net-tech](/maintainers/mrode-net-tech)

---

Top Contributors

[![mrode-net-tech](https://avatars.githubusercontent.com/u/158272218?v=4)](https://github.com/mrode-net-tech "mrode-net-tech (15 commits)")

---

Tags

laravelAuthenticationidentityoauthsanctumtwo-factordddSocial Logininvitations

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/net-code-laravel-identity/health.svg)

```
[![Health](https://phpackages.com/badges/net-code-laravel-identity/health.svg)](https://phpackages.com/packages/net-code-laravel-identity)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3365.5M359](/packages/psalm-plugin-laravel)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1346.4k29](/packages/fleetbase-core-api)[laravel/pulse

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

1.7k17.6M170](/packages/laravel-pulse)[api-platform/laravel

API Platform support for Laravel

58190.1k22](/packages/api-platform-laravel)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

80732.6M276](/packages/laravel-mcp)[hasinhayder/tyro-login

Complete authentication kit for Laravel 12 &amp; 13 — 10 premium layouts, social OAuth, passkeys, TOTP 2FA, OTP, magic links, invitations, lockout, captcha and beautiful emails

2519.7k8](/packages/hasinhayder-tyro-login)

PHPackages © 2026

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