Api base authentication and user management via laminas and pi engine
This is the first development version of the user module, please don't install it on production projects now, we will work on finishing and testing this module in the next weeks and ready the production version ASAP
Follow the below steps to install the module via composer
Run the following to install this library:
$ composer require pi/user
Edit config\modules.config.php
and add 'User'
end of array, for example like this
<?php
return [
...
'Application',
'User', // Add this line
];
Edit composer.json
and add this line
"autoload": {
"psr-4": {
....
"User\\": "vendor/pi/user/src/"
}
},
Run composer dump-autoload
.
Open data/schema.sql
and create tablas in your database
- Rbac Authorization
- Admin handler: profile section (add, edit, list, password, view)
- Admin handler: Role section (add, edit, list)
- Admin handler: Permission section (add, edit, list)
- Handler (as web service) for check email, mobile, identity and password validation in registration
- Handler (as web service) for check strong password
- DTO
- Profile model, repository, service and ...
- Write test cases and make test
- Write documents, (in-file, extra)
- Move Role and Permission sections from user module to system module