Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

PHPORM-310 Create dedicated session handler #3348

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
GromNaN merged 3 commits into mongodb:5.x from GromNaN:PHPORM-310
Apr 15, 2025
Merged

Conversation

@GromNaN
Copy link
Member

@GromNaN GromNaN commented Apr 11, 2025
edited
Loading

Fix PHPORM-310

The Symfony MongoDB SessionHandler doesn't work well with the Laravel framework; even if they implement the same interface, they are not used in the same way.

Creating a dedicated session handler that extends Laravel's DatabaseSessionHandler to leverage the its additional user and request informations.

The configuration is still the exact same: https://www.mongodb.com/docs/drivers/php/laravel-mongodb/upcoming/sessions/

Checklist

  • Add tests and ensure they pass

divine reacted with thumbs up emoji
@GromNaN GromNaN requested a review from a team as a code owner April 11, 2025 13:43
@GromNaN GromNaN requested a review from alcaeus April 11, 2025 13:43
@GromNaN GromNaN added this to the 5.3 milestone Apr 11, 2025
GromNaN and others added 2 commits April 14, 2025 15:00
Comment on lines +14 to +15
universalObjectCratesClasses:
- MongoDB\BSON\Document
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL

GromNaN reacted with thumbs up emoji
@GromNaN GromNaN merged commit 94d4fb2 into mongodb:5.x Apr 15, 2025
70 checks passed
@GromNaN GromNaN deleted the PHPORM-310 branch April 15, 2025 08:52
@GromNaN GromNaN modified the milestones: 5.3, 5.4 Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@alcaeus alcaeus alcaeus approved these changes

Assignees

No one assigned

Labels

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /