/php-tcpdf

PHP Auth functionality with usage of TCPDF (PHP 5.3-7.3)

Primary LanguagePHP

About:

PHP AUTH: This is a simple boilerplate for PHP Auth.

  • Login
  • Register
  • Logout
  • Password Reset

Installation/Info:

  • Run this command for cloning the project (otherwise you can download as .zip)
git clone https://github.com/boolfalse/php-tcpdf.git
  • Create MySQL 5.* DB
  • Copy the "env-example.php" as "env.php" and configure DB credentials
  • Unzip "tcpdf-backup.zip" and move all the extracted resources to the "tcpdf" folder
  • Cop and paste necessary font files (.php, .z)
  • Config your host on root folder (probably it'll be hosted on 'index.php' by default)
  • Run necessary migrations via web page "/setup.php"
  • Run necessary seeders via web page "/seeds.php"
  • Open the page "/login"
  • For User page you can go to the "/welcome.php"

Sources:

TODOs

  • Check Auth functionality with uncommenting these code blocks
//if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true){