Easy way to make a login through user and password on database and store authkey on cookies
- MySQL Server
- Yii framework
- PHP
- Composer
- Run load_db.sql on your database to create and insert user for login.
- Configure yout database credencial on config/db.php file.
- Run php server locally:
./yii serve (for Yii)
or
php -S localhost:8080
Go to "login" link on the top and try your username and password you already inserted on table called "acesso"
Have a nice day!