Download the PHP package mohamedallou/mezzio-security without Composer
On this page you can find all versions of the php package mohamedallou/mezzio-security. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mohamedallou/mezzio-security
More information about mohamedallou/mezzio-security
Files in mohamedallou/mezzio-security
Package mezzio-security
Short Description A set of middlewares and services to offer basic user authentication capabilities
License MIT
Informations about the package mezzio-security
Mezzio-security
This library offers an implementation of the UserRepositoryInterface used with an authentication adapter, providing a persistence layer for mezzio authentication.
It also handles the authorization and implements an easy flat permissions system.
This library also provides an implementation of the PhpSessionPersistenceInterface.
Configuration
You need to add the following config provider class to your modules list
if they are not added automatically.
and of course the current ConfigProvider: \MezzioSecurity\ConfigProvider
You also need to configure the laminas abstract factory in your global configuration: ``
An implementation of Laminas EventManager is required.
e.g: `` The library handles the login and the user management.
It is important to note that the login data hast to be submitted in the form of url encoded or multipart format, if not, we need to make use of the ParsedBody Middleware.
And we have to pipe the session middleware before the routing middleware ``
Requirements
This library requires an implementation of the Doctrine\ORM\EntityManagerInterface.
Adding Translation to the Problemdetails listener
Coming features:
- Support session and basic authentication simultaneously
- Support Translation of validation messages
- add JWT Token Auth and blacklist
- add IP Restriction
- Add IP Logging
- block user after x failed login attempts
- Add Openapi annotations
All versions of mezzio-security with dependencies
symfony/console Version ^7.0
doctrine/orm Version ^3
firebase/php-jwt Version ^6.8
mezzio/mezzio-session Version ^1.14
mezzio/mezzio-session-ext Version ^1.19
laminas/laminas-eventmanager Version ^3.13
mezzio/mezzio-authentication Version ^1.9
mezzio/mezzio-authentication-session Version ^1.9
mezzio/mezzio-problem-details Version ^1.14
mezzio/mezzio-authentication-basic Version ^1.8
laminas/laminas-inputfilter Version ^2.30
psr/http-server-handler Version ^1.0
psr/container Version ^2.0 || ^1.0
laminas/laminas-servicemanager Version ^3.22
laminas/laminas-hydrator Version ^4.15
symfony/cache Version ^7.1
laminas/laminas-diactoros Version ^3.3
nesbot/carbon Version ^3.6
mezzio/mezzio-template Version ^2.10
laminas/laminas-stratigility Version ^3.11
mezzio/mezzio Version ^3.19
mezzio/mezzio-helpers Version ^5.16
mezzio/mezzio-authorization Version ^1.9