Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/technobureau/mezzioauth
- Owner: TechnoBureau
- Created: 2022-01-10T21:06:19.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-18T18:04:49.000Z (about 3 years ago)
- Last Synced: 2024-05-06T14:40:43.595Z (9 months ago)
- Language: PHP
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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);