PHP Advanced Login System as part of the Francium Project
See this Blog Post for complete documentation.
Simply download LS.php file and include it in PHP :
<?php
require_once "LS.php";or use Composer :
composer require francium/logsysThe 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.
See CHANGELOG
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