Authentication System PHP

Authentication System PHP


  • Protected against CSRF, SQL injection and Brute Force Attacks.
  • Dashboard with User Management.
  • Supports SMTP + Mail PHP Function (PHPMailer).
  • Password are encrypted with Bcrypt Algorithm..
  • Languages files.
  • Ajax jQuery.
  • Google reCAPTCHA v2.
  • Bootstrap 4.


  • Login form with remember me function.
  • Register form.
  • Recovery form.
  • Settings (Change E-mail, password).


  • User Database
    • Add new user
    • Edit user
      • Change username, password, email.
      • Change user status (activated/unverified).
      • Change user group (admin/normal user).
      • Disable user’s account.
    • Delete user
  • Logs
    • Registration Token.
    • Failed login (banned IPs, unban).
    • System log (action, username, time).
      • If you add, edit or delete a user.
      • If settings has been changed.
      • If you delete token key or login attempt.
  • System Settings
    • Change Site name, URL, email, default language, time zone.
    • Choose mail driver (mail function, smtp setup).
    • Cleanup: Delete unverified users (time setup).
    • Cleanup: Delete token keys (time setup).
    • Cleanup (time setup).
    • Change PIN.
    • E-mail confirmation (on/off).
    • Login attempts (on/off, max login attempts, ban hours).
    • reCAPTCHA (on/off, setup).
    • Strict Recovery (users can only request another token key after specified time).
    • Where to redirect users after login (URL).
    • Where to redirect users after registration (URL).


  1. Copy AuthSystem folder to your server.
  2. Put auth/cache folder to 777 permission.
  3. Create database and import authsystem.sql file.
  4. Edit init.php file.

Once you done with the steps above, login with following details:
User: admin 12345
Dashboard PIN: 1111

If you installing this to your project, just require the auth/init.php file and you will have all the features of AuthSystem.

Some functions you might wanna use:
auth()->guard() – Only logged in users can access.
auth()->isLoggedIn() – Returns true if user is logged in.
auth()->permission() – Returns true if user has admin privileges.


Please enter your comment!
Please enter your name here