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

Ory Contracts Laravel Package

breadbunch/ory-contracts

Provides PHP contracts for integrating Ory identity and access management services into Laravel applications. It defines reusable interfaces for Ory clients, identity flows, and related services, helping keep implementations decoupled, consistent, and easy to test across projects.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Informs build-vs-buy for Ory/Laravel integration: the package appears to provide contract/interfaces for wiring Ory into Laravel, so teams can standardize boundaries instead of coupling application code directly to an Ory SDK.
  • Supports roadmap sequencing: treat this as a pre-1.0 dependency. The 0.1.1 namespace rename to BB\Ory\Contracts is a breaking change for any code importing the previous namespace, so adoption should be paired with a migration/checklist item.
  • Useful for contract-first auth work: identity-provider abstraction, test doubles/fakes around Ory flows, and modular auth packages where application code depends on interfaces rather than concrete clients.
  • Feature decision: avoid building custom Ory contracts if these match your domain, but wrap them behind an internal adapter until the package stabilizes.

When to Consider This Package

  • Consider it if you are adopting Ory in a Laravel/PHP codebase and want shared contracts/interfaces; you can pin an exact version; the integration surface is small; and the team accepts pre-1.0 churn.
  • Defer or look elsewhere if this supports production-critical authentication with strict stability requirements, needs semantic-versioning guarantees, or would expose these namespaces as a broad public API.
  • The 0.1.1 namespace rename is a signal of API instability: a patch release changed imports, so teams should expect migration work even on patch upgrades. Require a pinned version and an upgrade checklist before piloting.

How to Pitch It (Stakeholders)

  • Executives: a low-cost contract layer that can reduce lock-in and speed Ory integration, but it is early-stage — pilot and pin the version rather than treating it as platform-critical.
  • Engineering: 0.1.1 moves the namespace to BB\Ory\Contracts; update use statements, bindings, and any autoload/import assumptions. No new features are indicated. Adopt behind an internal adapter to isolate future namespace or contract churn, and pin 0.1.1 for evaluation.
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.
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc
animalyoung/laravel-influxdb
onix-solutions/sms-telera
lonely-lights/prosetta
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log