Skip to content

Latest commit

 

History

History
executable file
·
53 lines (34 loc) · 1.51 KB

File metadata and controls

executable file
·
53 lines (34 loc) · 1.51 KB

logSys

Build Status

PHP Advanced Login System as part of the Francium Project

See this Blog Post for complete documentation.

Features

Installation

Simply download LS.php file and include it in PHP :

<?php
require_once "LS.php";

or use Composer :

composer require francium/logsys

Instructions

The Blog Post contains the entire information on how to install and use logSys.

The following folders contain examples of usage

  • example-basic
  • example-two-step-login

PHP's mail() function is used to send emails. Most likely, emails sent through it will reach the SPAM folder. To avoid this, add an email function in config -> basic -> email_callback.

I recommend to use PHPMailer (SMTP) or Mailgun API to send emails.

Versions & Upgrading

See CHANGELOG

Testing

Edit the database configuration inside the tests/*.xml files and run :

phpunit -c tests/phpunit.mysql.xml && phpunit -c tests/phpunit.postgresql.xml && phpunit -c tests/phpunit.sqlite.xml