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

Appearance settings
Discussion options

Hi.
I have an existing laravel application that uses spatie/laravel-permission.
I wanted to know before I install if it works with spatie/laravel-permission

You must be logged in to vote

Replies: 1 comment

Comment options

Hey @raliqala, yes, fully compatible.

Shopper uses spatie/laravel-permission internally for its roles and permissions system, so there's nothing extra to integrate. If you already have it installed, Shopper piggybacks on the same roles and permissions tables and adds its own permissions during install. Just make sure both sets of migrations have run and the HasRoles trait is on your User model (the installer handles that part).

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
documentation Improvements or additions to documentation
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.