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.
spatie/laravel-permission. It should be framed on the roadmap as an auth-strategy commitment, not a library pick.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.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.
Consider it only when all of the following hold:
composer.lock, and you accept ownership of a thin, sparsely maintained glue package.Look elsewhere when:
spatie/laravel-permission.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.How can I help you explore Laravel packages today?