Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/technobureau/mezzioauth

Mezzio Authentication with Authorization using Doctrine
https://github.com/technobureau/mezzioauth

Last synced: 2 months ago
JSON representation

Mezzio Authentication with Authorization using Doctrine

Awesome Lists containing this project

README

        

# Mezzio Doctrine Based Authentication

It's using mezzio authentication based on Doctrine ORM. For migration or table creation
using doctrine orm

* Add below entry on routes.php to register router for authentication

(new TechnoBureau\mezzioAuth\ConfigProvider())->registerRoutes($app, '/user');

* Add Below Entry on pipeline.php before **RouteMiddleware** to register middleware globally for all routes.

$app->pipe(SessionMiddleware::class);
$app->pipe(FlashMessageMiddleware::class);

* Add below entry on pipeline.php before **DispatchMiddleware** to register middleware globally for all routers.

$app->pipe(UserMiddleware::class);