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 Api Laravel Package

liberusoftware/identity-core-api

A Laravel/PHP package providing the core API layer for identity services, with endpoints and supporting classes for managing identities and authentication records. Integrates with Liberu identity packages to give applications a consistent, reusable identity API surface.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

What the package actually is. liberusoftware/identity-core-api self-describes as an "identity api presentation adapter." That framing matters: it implies a layered design where a separate core module owns the identity domain (aggregates, value objects, repositories, domain events) and this package is the thin HTTP-facing surface — route definitions, controllers, form requests, API resources, middleware bindings, and a service provider that wires the adapter to the core. It is not a standalone authentication library. Its value is entirely contingent on adopting the sibling domain package(s) it presents.

Architecture fit. Fit is narrow and conditional. It suits teams already committed to the Liberusoftware module family or to a comparable modular-monolith pattern with strict domain/presentation separation. For a conventional Laravel application using Sanctum, Passport, Breeze, Fortify, or an external IdP, this package is a foreign body — it introduces a domain model, persistence expectations, and route surface you did not choose. The adapter boundary is architecturally correct (presentation should be swappable), but correctness of shape is not evidence of fitness for your stack.

Integration feasibility. Assessed as low-to-moderate and currently unquantifiable. Feasibility hinges on facts not visible at this layer:

Unknown Why it blocks How to resolve
composer.json require constraints Determines Laravel/PHP version lock and transitive surface Inspect the manifest before any spike
Core domain package(s) required This adapter is inert without them; they carry the real weight Enumerate the full dependency subgraph
Route/middleware registration semantics Determines collision risk with existing auth routes Read the service provider and route files
Persistence contract (migrations, models, repository bindings) Determines migration and rollback cost Inspect migrations and config publishing
Auth mechanism (token, session, JWT, OAuth) Determines whether it can coexist with your existing identity Read middleware and guards

Technical risk. Elevated, and concentrated on the security-critical path.

  • Adoption signal is absent. Zero stars, zero dependents, no downstream consumers to learn from. There is no community-proven failure surface, no Stack Overflow corpus, no third-party blog coverage. You would be the first substantive integrator.
  • License is NOASSERTION. This is a hard stop for legal in most enterprises. The repository may carry a LICENSE file that GitHub cannot classify, or it may be genuinely unlicensed — in which case default copyright applies and reuse is not granted. This must be resolved in writing before engineering time is spent.
  • Bus factor of one, plausibly. A single-vendor module family with no visible contributor base means the roadmap, security response, and breaking-change discipline are all unverified.
  • Metadata integrity to verify. The recorded last release (2026-10-26) should be reconciled against Packagist and git tags — anomalous version dates in monorepo-split packages frequently indicate auto-generated tags rather than curated releases, which changes how you should interpret version constraints.
  • Composite score of ~19.8/100 is consistent with the above: novel but unproven, with opportunity upside that only materialises if you are already in the ecosystem.

Key questions for the vendor, in priority order.

  1. What is the license, and can you provide it as an explicit SPDX identifier in composer.json?
  2. What is the exact require graph, including the core identity domain package and its version contract with this adapter?
  3. Which identity semantics are implemented — credential verification, session vs. token issuance, MFA, recovery, account lifecycle — and which are explicitly out of scope?
  4. What is the supported Laravel and PHP version matrix, and what is the deprecation policy?
  5. How are security vulnerabilities disclosed and patched? Is there a published policy?
  6. Are routes, guards, and table names configurable, or hard-coded?
  7. Is there a reference application or integration test suite demonstrating the adapter against the core?
  8. What is the release cadence and semantic-versioning discipline, given the 2026 tag?

Integration Approach

Stack fit. Assume a Laravel monolith on a supported PHP 8.x line. The package likely fits only if two conditions hold: (a) you are willing to let it own the identity domain, not merely the HTTP verbs, and (b) your application can cede the /api identity route namespace to it. If you need identity to remain a supporting subdomain behind your own anti-corruption layer, this adapter is the wrong entry point — you would be importing a presentation layer for a domain you have not adopted.

Migration path. Do not migrate. Introduce alongside, behind a facade, in a capability-flagged slice.

  1. Legal and manifest gate. Resolve license; capture the full resolved dependency tree via composer why and a lockfile diff. No code merges until this clears.
  2. Isolation spike. Stand up the adapter in a throwaway branch or scratch service. Register the provider, publish config, run migrations against a disposable schema. Timebox to one engineer-week.
  3. Contract extraction. Whatever the adapter does, define your own interface in front of it (IdentityGateway or similar) so your domain never references the package's classes directly. This is the single highest-leverage decision in the whole assessment — it converts a vendor lock into a swappable detail.
  4. Shadow deployment. Run the adapter's endpoints on a non-production host, drive them with your integration test suite plus contract tests derived in step 3, and compare behaviour against your incumbent identity path.
  5. Cutover behind a flag. Route a single low-risk capability (e.g. read-only profile retrieval) through the adapter, then expand only on evidence.

If the isolation spike or contract extraction fails — if the adapter leaks domain objects you cannot wrap — abandon and implement thin controllers over your existing identity provider. That fallback is cheap and removes the supply-chain exposure entirely.

Compatibility. Two axes to pin. First, framework compatibility: pin illuminate/* constraints and add a CI job that resolves against both your current and next Laravel major. Second, intra-suite compatibility: the adapter and its core domain package must move in lockstep. Because both are published from what appears to be a single vendor monorepo, expect coupled releases; constrain both to exact minor versions and upgrade them as a unit.

Sequencing. Legal → manifest audit → isolation spike → contract definition → shadow validation → flagged rollout. The ordering is deliberate: each stage is cheap relative to the next, and each has a clean abort. Do not compress stages 1–2; the license and dependency facts are the two things most likely to kill the initiative, and they are the two cheapest to establish.

Operational Impact

Maintenance. You will carry the majority of it. With zero dependents, there is no upstream community absorbing upgrade work, no one else filing the issues that surface framework incompatibilities. Budget ongoing engineering for: Laravel major-version bumps (the adapter's illuminate/* constraints will lag), security patches to transitives, and divergence between the adapter and its core package. Treat this as a fork you do not control rather than a dependency you consume.

Support. Effectively self-support. No dependents means no field reports, no known-issue corpus, no community answers. Escalation is a direct vendor conversation with unverified SLAs. For an identity component — the highest-blast-radius surface in most applications — this is the weakest dimension of the assessment. Identity code that nobody else runs in production is identity code whose edge cases nobody else has found.

Scaling. Runtime scaling is likely unproblematic: this is an HTTP presentation layer, so throughput is a function of the domain layer beneath it and your database. The scaling concern is organisational, not technical — the adapter's surface will grow more slowly than your product's identity requirements, and every bespoke need (custom claims, tenant scoping, step-up auth) becomes either a fork or a wrapper. Plan for the wrapper from day one and the scaling story stays manageable.

Failure modes, ordered by expected cost.

Mode Trigger Blast radius Mitigation
Adapter/core version skew Upgrading one package, not the other Identity endpoints break or silently misbehave Pin both to exact versions; upgrade atomically
Route/guard collision Adapter registers routes or guards overlapping yours Auth bypass or 404s in production Audit registration in the spike; namespace routes explicitly
Middleware misconfiguration Defaults assume the vendor's guard stack Unauthenticated access to protected resources Contract tests asserting 401/403 on every endpoint
Silent transitive CVE Unmaintained dependency in the identity path Credential exposure SCA scanning gated in CI; pinned lockfile
Unlicensed use NOASSERTION resolved against you Legal/IP exposure, forced rework Resolve before integration, in writing
Abandonment Vendor stops publishing Framework upgrade wall Own the wrapper interface; keep the fallback warm

The route and middleware modes deserve emphasis: they are the ones where a correct-looking integration quietly grants access it should not, and they are exactly the failure class that a package with no other production users has not been pressure-tested against.

Ramp-up. Assume two to three engineer-weeks before the team is productive, concentrated on reading the adapter's service provider, route definitions, and persistence contract — none of which is documented to a standard you can rely on at this maturity. Add a half-day of legal coordination and a day of dependency forensics. The genuine risk is not the ramp; it is that the ramp completes and the isolation spike then fails on an unwrappable domain object, stranding the investment. The abort criteria in the sequencing above exist to cap that loss.

TPM recommendation. Do not adopt this as a dependency of record for authentication in a production system without the license and manifest gate clearing first. If the organisation is already standardised on the Liberusoftware module family, this adapter is a reasonable — if under-supported — presentation layer worth a timeboxed spike. If it is not, the expected value is negative: you inherit a security-critical surface, an unverifiable licence, a single-vendor bus factor, and zero peer-reviewed production usage, in exchange for controllers you could write in a week against an identity provider you already trust. The opportunity score of ~42 signals novelty, not readiness; a package with no dependents has demonstrated nothing about how it behaves under load, under upgrade, or under adversarial input.

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.
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package