PHP 7 compatible library for authenticating users using session cookies.
- Login
- Sign up
- Activate account
- Change email address
- Change password
- Delete account
- View active sessions
- Revoke active session
- View security logs
- Logout
>= php v7.0
composer require liamjack/phpauth:dev-master
require_once('vendor/autoload.php');
$database = new \PHPAuth\Database\MySQL(
$db_host,
$db_user,
$db_pass,
$db_name
);
$phpauth = new \PHPAuth\PHPAuth($database);
- PHPAuth-API A simple REST API layer on top of PHPAuth