Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Identity Core Laravel Package

liberusoftware/identity-core

Identity Core provides the foundational identity layer for Laravel applications: users, authentication flows, roles and permissions, and account lifecycle helpers. Lightweight, framework-native services designed to sit beneath your app's own auth logic.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy on auth policy. The package carves out the part of authentication that is genuinely product-specific — what counts as the same identifier, when to lock an account, what to record about a login — and leaves the credential mechanics to whatever driver you already use (Sanctum, Passport, Socialite, an OIDC provider, an enterprise IdP). That framing alone is useful in a build-vs-buy conversation: it separates "auth policy," which you should own, from "auth transport," which you should not.
  • Provider-neutral architecture. If the roadmap includes adding SSO, social login, magic links, or migrating off a legacy identity provider, a policy layer that is not welded to one driver turns a re-platforming project into a driver swap. This is the strongest product argument for the package and the one most likely to survive scrutiny.
  • Identifier normalization as a data-quality decision. Case folding, trimming, Unicode normalization, and email/username canonicalization are exactly the rules that determine whether [email protected] and [email protected] are one account or two. That is a product and support-cost decision, not a detail — getting it wrong produces duplicate accounts, failed password resets, and account-takeover edge cases. Centralizing it makes the rule reviewable and testable.
  • Account linking and merge policy. Once identifiers are canonical, decisions like "can a user with an existing email sign in via Google and land in the same account?" become explicit, reversible policy rather than emergent behavior.
  • Security event surface for compliance and support. A consistent event vocabulary (failed attempt, lockout, identifier change, suspicious login) underpins audit logging, SOC 2 / ISO 27001 evidence, customer-facing "recent activity" screens, and support tooling. Deciding to standardize this early is far cheaper than retrofitting it across three login paths later.
  • Multi-tenant and multi-brand products. Where tenants or brands have different lockout thresholds, MFA requirements, or identifier rules, a policy layer is the natural home for that configuration instead of scattering conditionals through controllers.
  • Roadmap sequencing. Adopting the policy abstraction before adding the second auth method front-loads the work that is expensive to do after the fact; adopting it after you already have three login paths is a refactor, not an integration.

When to Consider This Package

Consider it when:

  • You have, or credibly plan to have, more than one authentication path (password + SSO + social + API tokens), and you want one place where lockout, normalization, and event rules live.
  • You need a defensible audit trail of authentication events for compliance, enterprise procurement, or incident response.
  • You are migrating identity providers and want policy to survive the move rather than be rewritten.
  • You have been bitten by duplicate accounts or identifier mismatch and want canonicalization defined once.
  • You are comfortable vendoring or forking — see the caveats below — and treating this as a starting point for code you own.

Look elsewhere, or wait, when:

  • The maturity signals are disqualifying for your context. Zero stars, zero dependents, no production references, and a single-publisher namespace. There is no evidence of external usage, no community triage, and no third-party validation of the security model. For anything touching authentication, that is a real adoption cost, not a cosmetic one.
  • You need a complete auth solution. This is not a login system, an MFA implementation, or a session manager. If the ask is "ship login this sprint," this package adds a layer rather than removing work.
  • You are single-provider and staying that way. A small app with one login method and low account volume will get more value from a handful of well-tested normalization helpers than from a policy framework.
  • You require vendor support, an SLA, or a security review you can point at. None of that exists here yet.
  • The release cadence or date is unverifiable. The listed last release date is in the future relative to typical evaluation, and combined with zero dependents this suggests a package in pre-adoption state. Confirm the actual repository activity, test coverage, and issue history before treating it as production-grade.

The honest read: the problem it targets is real and commonly under-engineered, but the package itself is unproven. Treat it as a reference implementation and a design vocabulary, and budget for a security review plus likely in-house ownership.

How to Pitch It (Stakeholders)

For executives: Authentication tends to accrete — a password login here, an SSO integration there, a social button someone added — and each one reimplements its own rules about duplicate accounts, lockouts, and logging. That fragmentation is a security and compliance exposure, and it makes every future identity change more expensive. This package proposes a small, provider-neutral layer that holds those rules once so they can be reviewed, audited, and reused across login methods. The design direction is sound and MIT-licensed, but the project has no adoption, no external contributors, and no production track record. The recommendation is to adopt the pattern now and treat the code as a vetted starting point we own — not to take a dependency on it as-is.

For engineering: The valuable idea is the separation: authentication policy (identifier canonicalization, lockout thresholds, security event emission) decoupled from authentication transport (the specific driver or IdP). That is the seam most codebases lack, and it is where duplicate-account bugs and inconsistent audit logs originate. It is a small, MIT-licensed PHP/Laravel package with no dependents and a single publisher, so plan to fork or vendor it, add test coverage around normalization edge cases (Unicode, case folding, plus-addressing, homoglyphs), and review the event model against our logging and PII handling requirements before it touches a production path. Low integration cost, real design value, non-trivial diligence on the code itself.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings