cuonic/phpauth

This package is abandoned and no longer maintained. No replacement package was suggested.

Easy to use PHP Authentication library

Installs: 29

Dependents: 0

Suggesters: 0

Security: 0

Stars: 13

Watchers: 8

Forks: 4

Open Issues: 3

pkg:composer/cuonic/phpauth

dev-master 2018-07-02 23:39 UTC

This package is auto-updated.

Last update: 2025-05-21 06:21:07 UTC


README

About

PHP 7 compatible library for authenticating users using session cookies.

Features

  • Login
  • Sign up
  • Activate account
  • Change email address
  • Change password
  • Delete account
  • View active sessions
  • Revoke active session
  • View security logs
  • Logout

Requirements

  • >= php v7.0

Installation

composer require liamjack/phpauth:dev-master

Usage

require_once('vendor/autoload.php');

$database = new \PHPAuth\Database\MySQL(
    $db_host,
    $db_user,
    $db_pass,
    $db_name
);

$phpauth = new \PHPAuth\PHPAuth($database);

See also

  • PHPAuth-API A simple REST API layer on top of PHPAuth