Example of authentication and authorization in mezzio app

I created an example project for authentication and authorization in mezzio application. It uses acl. It featuring prg, csrf, flash, and rememberme functionality.

It can be used wth MySQL or PostgreSQL database.

The repository is at https://github.com/samsonasik/mezzio-authentication-with-authorization

You can give it a try by run:

composer create-project samsonasik/mezzio-authentication-with-authorization -sdev

and follow the readme.

2 Likes

Hi,
Can you use the tutorial you have on your blog for Zend Expressive, to work with Mezzio? I want to learn how to do it, login, authentication, authorization, in a project based on skeleton mezzio.
I have seen the code you have on Github, GitHub - samsonasik/mezzio-authentication-with-authorization: mezzio authentication with ACL authorization demo
but everything is already created and i want to learn how to create it.
Thanks.