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

Php Sdk Laravel Package

corbado/php-sdk

Official Corbado PHP SDK for adding passwordless authentication to PHP apps. Supports passkeys, email magic links, and session management with simple backend integration for secure, frictionless sign-in.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

  • Architecture fit: Corbado is a hosted passkey/authentication service, and this PHP SDK is a client wrapper for its API. In a Laravel application it would sit alongside the existing auth stack as a second authentication path rather than replace Laravel’s session/guard model outright. Fit is best for teams already standardized on Corbado or deliberately buying a managed passkey provider. It is a poor fit for greenfield Laravel apps that expect a first-party, maintained package because the repository is archived and has 0 dependents.
  • Integration feasibility: Composer installation is straightforward in principle, but the SDK is not Laravel-specific: expect manual service-container binding, configuration, middleware, and guard/session integration. Passkey flows also require frontend/browser work (WebAuthn ceremony, Corbado web component or JS SDK), backend session validation, user enrollment, and account recovery/fallback flows. The recent last release date (2025-03-24) is offset by archival status, so compatibility with current Laravel/PHP versions must be proven, not assumed.
  • Technical risk: High. Authentication is security-critical, and an archived SDK will not receive CVE responses, dependency updates, PHP/Laravel compatibility fixes, or vendor API adaptation. The package has low community validation (115 stars, 0 dependents), creating key-person and bus-factor risk. MIT licensing permits forking, but owning a passkey SDK is a specialized maintenance burden. Additional risks include vendor lock-in to Corbado, API version drift, data residency/compliance concerns, and unclear export/migration paths for credential metadata.
  • Key questions: Why was the SDK archived, and does Corbado still support PHP? What is the official support/SLA and deprecation policy for the Corbado API? Which PHP and Laravel versions are validated? Does the SDK handle session validation, token refresh, and user lifecycle, or only API calls? What is the migration/export path if we leave Corbado? Has the SDK or provider undergone a security review? What are the fallback and account-recovery requirements? Can we fork and maintain it internally if needed?

Integration Approach

  • Stack fit: Reasonable only as an adapter around a Corbado SaaS dependency, not as a core Laravel auth package. Use it behind an internal interface (e.g., PasskeyProvider) so Laravel guards, controllers, and middleware do not depend directly on SDK classes. Keep existing password/SSO recovery paths during rollout.
  • Migration path: If already on Corbado, pin the SDK version, vendor/fork it into an internal namespace, and document the API contract. If not already on Corbado, do not adopt this SDK for a new build without a contractual exit plan; prefer a maintained WebAuthn library (e.g., web-auth/webauthn-lib or Laragear WebAuthn) or a managed provider with active PHP support. Migration from Corbado should target standards-based WebAuthn credentials and a clear user-identifier mapping.
  • Compatibility: Treat Laravel 10/11/12 and PHP 8.1–8.4 as a test matrix, not a guarantee. Check Composer constraints for Guzzle/PSR dependencies and whether the SDK supports Laravel’s HTTP client, cache, and queue abstractions. Because the repo is archived, any incompatibility becomes an internal fix. Avoid --ignore-platform-reqs in production.
  • Sequencing: 1) Discovery: confirm Corbado contract, archival reason, SLA, and data export. 2) Proof of concept: install in a disposable Laravel app, test enroll/authenticate/recover flows in non-production. 3) Security and architecture review: threat model, session handling, secret storage, logging/PII. 4) Fork/vendor and wrap behind an internal adapter. 5) Pilot with a limited user cohort and mandatory fallback. 6) Production rollout with telemetry, kill switch, and documented exit plan.

Operational Impact

  • Maintenance: The archived status transfers maintenance ownership to the adopting team. Budget for dependency upgrades, PHP/Laravel compatibility patches, API contract changes, and security triage. Without a fork owner, the package should be considered frozen and risky.
  • Support: No upstream support channel for the SDK itself. Corbado may support its API, but SDK defects and integration issues become internal. Confirm commercial support terms in writing before relying on it for authentication.
  • Scaling: Runtime scale is mostly a function of the Corbado service and the application’s HTTP/session layer, not the SDK. Watch API rate limits, latency on login paths, regional availability, and outage behavior. The SDK being a thin client means horizontal scaling is feasible, but the external dependency becomes a critical-path single point of failure.
  • Failure modes: Corbado API outage or latency spikes can block login; expired/rotated API keys break auth; SDK incompatibility after PHP/Laravel upgrades; vendor deprecation of endpoints; incomplete account recovery locks users out; passkey sync/device-loss scenarios; missing security patches. Mitigate with fallback auth, circuit breakers, health checks, key-rotation runbooks, and a tested migration/export process.
  • Ramp-up: Teams need passkey/WebAuthn fundamentals, Corbado dashboard/API knowledge, Laravel auth/session integration, and security review skills. A proof of concept is likely one to two sprints; production hardening with fallback, recovery, monitoring, and an exit plan is a multi-week effort. The low adoption and archived status mean little community knowledge to draw on, so internal documentation is essential.
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.
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource
noith/settings