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

Workos Php Laravel Laravel Package

workos/workos-php-laravel

Laravel integration for the WorkOS API. Provides a configured WorkOS client via service provider, facade, helper, or dependency injection to access services like User Management and SSO. Install with Composer and set WORKOS_API_KEY and WORKOS_CLIENT_ID.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enterprise Identity & Access Management (IAM) Integration: Enables seamless integration of WorkOS’s SSO, directory sync, and admin portal features into Laravel-based SaaS platforms, reducing reliance on custom auth solutions.
  • Roadmap Acceleration: Accelerates feature rollouts for B2B/B2C authentication, multi-factor authentication (MFA), and user provisioning without building from scratch.
  • Build vs. Buy Decision: Eliminates the need to build a custom Laravel integration for WorkOS, saving dev time and reducing technical debt.
  • Use Cases:
    • SaaS Platforms: Streamline user onboarding, SSO, and role-based access control (RBAC) for multi-tenant applications.
    • Admin Portals: Embed WorkOS’s admin portal for self-service user management.
    • Magic Links & Passwordless Auth: Reduce friction in user sign-up flows.
    • Directory Sync: Automate user provisioning/deprovisioning with external identity providers (e.g., Okta, Azure AD).

When to Consider This Package

  • Adopt When:

    • Your Laravel app requires WorkOS’s SSO, MFA, or directory sync features.
    • You’re building a B2B SaaS product needing scalable IAM solutions.
    • You want to avoid reinventing auth infrastructure and leverage WorkOS’s compliance (SOC 2, GDPR, etc.).
    • Your team lacks expertise in custom OAuth2/OpenID Connect integrations.
    • You’re using Laravel 10+ (package requires Laravel 10x+).
  • Look Elsewhere If:

    • You need non-WorkOS identity solutions (e.g., Auth0, Okta, or custom OAuth2).
    • Your stack isn’t Laravel (e.g., Node.js, Python, or non-PHP backends).
    • You require beta features not yet stable (use WorkOS’s raw API directly).
    • You’re on an unsupported Laravel version (<10.x).
    • Your use case involves highly customized auth flows beyond WorkOS’s scope.

How to Pitch It (Stakeholders)

For Executives:

"This Laravel SDK lets us integrate WorkOS’s enterprise-grade authentication—SSO, MFA, and user management—in weeks, not months. It cuts dev costs by 40% vs. building custom auth, while adding compliance-ready features like directory sync and admin portals. For our B2B SaaS roadmap, it’s a strategic lever to accelerate onboarding and reduce churn."

For Engineering:

*"The WorkOS Laravel package is a thin, well-documented adapter over their PHP SDK, offering:

  • Zero-boilerplate integration for SSO, MFA, and user provisioning.
  • Facade/dependency injection support for clean Laravel code.
  • SemVer compliance with clear migration paths (e.g., v6’s breaking changes are documented).
  • Beta access for early adoption of new features. Tradeoff: Minor learning curve for WorkOS’s API surface, but saves ~3 months of auth dev work. Recommended for Phase 2 of our B2B auth overhaul."*

For Security/Compliance:

*"WorkOS handles SOC 2/GDPR compliance for us, including:

  • Centralized user management via their admin portal.
  • Automated directory sync with external IdPs.
  • Audit logs for all auth events. Risk: Vendor lock-in is mitigated by WorkOS’s open API—we can export data if needed."*
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.
cadot.eu/make
besmartand-pro/php-quality-config
sentix/ai-chatbot
codifyo/ts-generator-bundle
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky