What is the best way to implement a role based authentication and authorization system in Slim 3
My application will have three different users - (admin, customers and employers). I want to access different roles to each user.
I found slim-auth but it looks out-dated.
What I need is a plugin that can handle this requirement or a step by step direction on how best to implement it in Slim 3.