PHP Advanced Login System as part of the Francium Project
See this Blog Post for complete documentation.
Use Composer :
composer require francium/logsys
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.
See CHANGELOG
- Follow PSR standards
- Write or modify unit tests for changes you make (if applicable)
- Run unit tests before pull request.
Please report security bugs directly to me via email.
First of all do a composer update
in the main folder. This will install phpunit.
Edit the database configuration in the XML files located in testing
folder and run :
vendor/bin/phpunit -c testing/phpunit.mysql.xml && vendor/bin/phpunit -c testing/phpunit.postgresql.xml && vendor/bin/phpunit -c testing/phpunit.sqlite.xml