mouf / security.userservice
A set of PHP class to manage log-in and log-out of web applications and that integrates with Mouf.
Installs: 205 092
Dependents: 13
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 3
Open Issues: 1
Type:mouf-library
Requires
Requires (Dev)
- maglnet/composer-require-checker: ^4.3
- mnapoli/simplex: ^0.5
- mouf/utils.log.psr.errorlog_logger: ^2
- phpstan/phpstan: ^1.9
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.3.1
- thecodingmachine/discovery: ^1.2.1
- thecodingmachine/phpstan-strict-rules: ^1.0
README
This package is part of the Mouf PHP framework and contains objects and interfaces to manage users' authentication.
It allows you to manage logged users. UserService does authentication, not authorization. If you want to manage users rights, have a look at the Right Service.
Simply put, UserService:
- manages the user's session for you
- allows you to login / logout (
login()
andlogoff()
methods) - knowns if the current user is logged or not (
isLogged()
) - allows you to retrieve the current logged user (
getLoggedUser()
)
> Install UserService: [Installation](doc/usersserviceInstallation.md)