technobureau/mezzio-auth

Doctrine Based Authentication for Mezzio

Maintainers

Package info

github.com/TechnoBureau/mezzioAuth

Homepage

pkg:composer/technobureau/mezzio-auth

Statistics

Installs: 6

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

dev-main 2022-01-18 18:04 UTC

This package is auto-updated.

Last update: 2026-02-19 02:51:03 UTC


README

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);