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

breadbunch/ory-bundle

View on GitHub
Deep Wiki
Context7
0.1.4

What's Changed

Full Changelog: https://github.com/BreadBunch/ory-bundle/compare/0.1.3...0.1.4

0.1.3

This release marks the first major milestone, transforming the project from a basic skeleton into a ready-to-use authentication tool. We have implemented seamless integration of the Ory SDK (Kratos / Network) into the Symfony Security ecosystem, configured the DI container, and laid the groundwork for further business logic development.

The project is fully optimized for the modern stack: PHP >= 8.4 and Symfony ^8.1.

What's Changed

✨ Key Features (Security Auth Flow)

  • OryAuthenticator: A full-fledged security core that supports validation of both session cookies and bearer tokens. Upon successful validation, the SDK returns SelfValidatingPassport with a UserBadge.
  • User Provider: Implemented OryUserProvider and OryUserFactory, allowing the bundle to extract roles/traits from Identity and flexibly configure custom user classes.
  • Handlers & Entrypoint API: The authenticator now implements AuthenticationEntryPointInterface. Added dedicated JSON handlers (Success/Failure handlers) that correctly return authorization errors (401 Unauthorized) without interrupting the standard Symfony request cycle.
  • Authenticator Factory (OryAuthenticatorFactory): Integration with the Symfony Config Tree for registering an authenticator directly in security.yaml firewalls.

⚙️ HTTP Layer and Client Configuration

  • OryClientFactory: Added a factory for secure initialization of the FrontendApi and IdentityApi services inside the DI container.
  • Guzzle HTTP Client: The Guzzle client (alias ClientInterface) has been registered and integrated into the Ory API client factory. * Configuration Tree: The bundle now reads the base_url (required) and timeout (default 5 seconds) parameters from the ory.yaml configuration.
  • Contracts: Added a dependency on the bread/ory-contracts package to standardize user interface handling.

📦 Infrastructure and Documentation

  • Bundle Skeleton: The basic structure of the Symfony 8 Bundle (OryExtension, configuration loaders) has been formed.
  • Dependabot: Added automated weekly dependency updates (prefixed with "chore") for Composer and GitHub Actions. The symfony/phpunit-bridge package has been migrated to the ^8.1 dev version to support up-to-date testing.
  • Documentation: Added a starter README.md with installation instructions, project overview and links.

New Contributors

Full Changelog: https://github.com/BreadBunch/ory-bundle/commits/0.1.3

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.
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
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin