jeudi 21 février 2019

How to use roles in a Laravel package

I'd like to have roles in a package I'm creating. What is the best way to do this?

Should I use an existing package (Entrust, Bouncer, etc.) or should I implement a roles feature with no dependency?

Using an existing package could end in a conflict if it's already installed in another version, or if another package is already used.

Implementing the feature with no dependency is like reinventing the wheel...



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire