technobureau / mezzio-auth
Doctrine Based Authentication for Mezzio
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/technobureau/mezzio-auth
Requires
- php: ^7.3 || ~8.0.0 || ~8.1.0
- doctrine/orm: ^2.6
- laminas/laminas-form: ^3.1
- mezzio/mezzio-authentication-session: ^1.2
- mezzio/mezzio-authorization-acl: ^1.2
- mezzio/mezzio-csrf: ^1.3
- mezzio/mezzio-flash: ^1.3
- mezzio/mezzio-session-ext: ^1.12
- roave/psr-container-doctrine: ^3.1
Conflicts
- technobureau/mezzio-oauth2: dev-main
- technobureau/mezzio-pdo-oauth: dev-main
This package is auto-updated.
Last update: 2025-09-19 01:57:42 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);