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

Mongodb Sentry Laravel Package

jenssegers/mongodb-sentry

Adds MongoDB support to Cartalyst Sentry by providing Jenssegers MongoDB-backed user, group, and persistence models. Lets Laravel apps store Sentry authentication and authorization data in MongoDB instead of a relational database.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Datastore consolidation strategy: This package lets Cartalyst Sentry's users, groups, permissions, and login attempts live in the MongoDB instance the application already operates, rather than requiring a separate relational database. That supports a "one datastore" architecture decision and the operational simplification that follows — fewer backups, fewer migration paths, fewer systems to secure and staff.
  • Build vs. buy on authentication: Adopting (or declining) this package is effectively a decision to remain on the Cartalyst auth vendor ecosystem rather than build custom auth or move to Laravel's native guards, Sentinel, or spatie/laravel-permission. It should be framed on the roadmap as an auth-strategy commitment, not a library pick.
  • Legacy-sustain vs. retire roadmap call: Cartalyst Sentry has been superseded by Sentinel and is effectively deprecated. This package is a bridge to that older ecosystem, so it directly informs the "extend the legacy auth stack" versus "budget a migration" decision — and gives you a concrete artifact to point at when arguing the latter.
  • Framework-upgrade sequencing: The documented release (v1.1.0-beta) adds Laravel 5 support but only against a Sentry feature branch. That entangles "upgrade Laravel" with "stay on this auth stack" — a Laravel 5 move now implies tracking an unreleased upstream branch. That is a schedule and dependency risk worth surfacing before committing a modernization roadmap.
  • User-management feature scope: It makes the users/groups/permissions model an implementation detail, so roadmap conversations about roles, group-based access, and permission matrices can assume a Mongo-backed model already wired into the application.
  • Go/no-go on a tactical dependency: Zero dependents and a low health score mean adoption is a small but real maintenance bet. Making it explicitly is better than letting it in by accident during a sprint.

Note for any roadmap or stakeholder document: despite the name, this is not the getsentry/Sentry error-tracking integration. It is a MongoDB user provider for Cartalyst Sentry, the authentication library. Confusing the two would misdirect prioritization and resourcing.

When to Consider This Package

Consider it only when all of the following hold:

  • You are already committed to Cartalyst Sentry for authentication and jenssegers/mongodb for your data layer.
  • You want user, group, and permission data co-located with existing Mongo collections — operational simplicity is the actual driver, not feature value.
  • You are maintaining a legacy Laravel application and a migration to Sentinel or native auth is not on the near-term roadmap.
  • If Laravel 5 is required, you accept that the path runs through a beta release pinned to a Sentry feature branch with no stable upstream.
  • You can pin exact versions and commit composer.lock, and you accept ownership of a thin, sparsely maintained glue package.

Look elsewhere when:

  • You are not already on Cartalyst Sentry — the deprecation risk alone should steer new work to native Laravel auth, Sentinel, or spatie/laravel-permission.
  • You require a stable, released upstream. Laravel 5 support here depends on an unreleased branch, which is not a dependency posture to build a roadmap on.
  • You have no MongoDB requirement — a relational store is simpler and better understood for auth data.
  • You need vendor support, security guarantees, or a published compatibility matrix.
  • A modernization is planned. Even with Laravel 5 coverage, this remains a bridge to a deprecated library and should not gate or anchor an upgrade decision.
  • Your product is greenfield — this is maintenance debt with no strategic upside.

How to Pitch It (Stakeholders)

  • For executives: This is a small connector that stores login and permission data in the MongoDB database our application already runs, so we avoid operating and securing a second database just for identity data. Its latest release extends it to Laravel 5, but only by depending on an unreleased branch of the underlying auth library. Read it as a cost-consolidation play for existing systems, not as a bet on where we build new features — and be aware the "Sentry" in the name refers to an auth library, not error monitoring.
  • For engineering: Treat it as a compatibility shim between two older dependencies. The Laravel 5 support in v1.1.0-beta is real but beta-quality and tied to a Sentry feature branch: pin the exact tag, vendor or commit-pin the branch, and commit the lockfile, because dev-stability constraints may otherwise leak unstable packages across the whole build. Verify group and permission resolution behave identically to the current provider before switching traffic, and confirm auth fails closed — not open — when MongoDB or a collection is unavailable. If we are not already on Cartalyst Sentry, do not introduce it.
  • For product and operations: This delivers no user-facing feature. The benefit is purely operational — fewer datastores, simpler user-data management — and is only realized by teams already on this stack. For any new user-management or permissions work, plan around a migration to a supported auth package rather than extending this one, and treat the beta Laravel 5 support as a temporary unblock, not a reason to defer or reshape a framework upgrade. Recommend a short discovery spike with a written finding — sustain, replace, or decommission — before committing engineering time.
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