Coder Social home page Coder Social logo

pi-engine / user Goto Github PK

View Code? Open in Web Editor NEW
0.0 6.0 2.0 319 KB

Api base authentication and user management module via laminas and pi

License: BSD 3-Clause "New" or "Revised" License

PHP 100.00%
php composer laminas laminas-mvc laminas-module

user's Introduction

User module

Api base authentication and user management via laminas and pi engine

1. Important note

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

2. Installation

Follow the below steps to install the module via composer

Step 1

Run the following to install this library:

$ composer require pi/user

Step 2

Edit config\modules.config.php and add 'User' end of array, for example like this

<?php
return [
    ...
    'Application',
    'User', // Add this line
];

Step 3

Edit composer.json and add this line

    "autoload": {
        "psr-4": {
            ....
            "User\\": "vendor/pi/user/src/"
        }
    },

Step 4

Run composer dump-autoload.

Step 5

Open data/schema.sql and create tablas in your database

3. List of TODO tasks for this module

  • 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

user's People

Contributors

kerloper avatar voltan avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

kerloper fazelim

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.