Implement Multiple Login/Signup methods with MySQL
database in PHP
- Username and Password
- Github
composer require jp/multi-auth
Create .env
file in root, setup these variables and the respective values
DB_HOST
database hostnameDB_USERNAME
database usernameDB_PWD
passwordDB_NAME
databasename
These are accessible as $_ENV
superglobals