An open API service indexing awesome lists of open source software.

https://github.com/nicolaeciobanuu/php-auth

Simple authentification with PHP and MySQL
https://github.com/nicolaeciobanuu/php-auth

auth authentication login mysql php session

Last synced: 3 months ago
JSON representation

Simple authentification with PHP and MySQL

Awesome Lists containing this project

README

        

First you need to create a database with the **users** table.

CREATE DATABASE php-auth

Then run the following statement:

CREATE TABLE users (
id INT AUTO_INCREMENT PRIMARY KEY,
email VARCHAR(255) NOT NULL UNIQUE,
password VARCHAR(255) NOT NULL
);

Start the php app in the built-in web server:

php -S localhost:3000