-
-
Notifications
You must be signed in to change notification settings - Fork 376
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
Guidelines for moving from zizaco/entrust #22
Comments
I switched a few days ago. Just remove every reference to zizaco/entrust, run composer remove zizaco/entrust and go on installing santigarcor/laratrust as suggested in the docs. |
@unitedworx do as @Naoray said |
Thanks for the replies, was simply wondering if this is a drop-in replacement for entrust or a complete rewrite where I would need to refactor alot of my code. will give it a go in a few days and see how it goes |
You don't have to throw out every line of code where you use the zizaco/entrust. Like when you create a role/permission or query them, cause they are used the same way in santigarcor/laratrust. Just delete the ServiceProvider/alias Reference in the config/app.php file, that's all you've to remove. |
Remeber to call |
Hi there just found this fork of zizaco/entrust and really really happy about it since entrust is kind of dead atm.
Any guidelines of moving from entrust to laratrast? Or I should simply swap packages along with namespaces and get going? I am using "zizaco/entrust": "master@dev"
The text was updated successfully, but these errors were encountered: