Skip to content
This repository was archived by the owner on Jun 29, 2025. It is now read-only.

Latest commit

 

History

History
32 lines (22 loc) · 1.18 KB

File metadata and controls

32 lines (22 loc) · 1.18 KB

PHP User Managment

Simple storage-detached identity and access managment library written in vanilla PHP.

Currently only session based authentication is supported, but it can be easily be updated to support token based authentication.

Class diagram

Features

  • user register
  • user login
  • user session managment
  • remember me cookies
  • password reset over email with PHPMailer

Usage

  1. Copy ./class content to your project
  2. Provide implementation of following interfaces:
  3. Load your constants
  4. Instantiate IdentityAccessManager
  5. Use IdentityAccessManager object

Example of implementation with MySQL can be found inside ./example directory, here

Todo