Api base authentication and user management via laminas and pi engine
This is the first stable version of the user module, you can install it on production projects now, we will work on improvement and testing this module in the next weeks
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
- Write test cases and make test
- Write documents, (in-file, extra)
- Move Role and Permission sections from user module to core module