Laravel – How adding a trait to a model from a package
I've built a role module (package) where I've used the HasRole trait in the User model. Now, I'm trying to remove the HasRole trait from the User model and add it to the role package's service provider. I've looked around…