Skip to content

A Personal PHP Auth which you might find useful. Created for a Faster deployment of your Authentication Web App.

Notifications You must be signed in to change notification settings

Kofacts/Simple_PHP_Auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple_PHP_Auth

A Personal PHP Auth which you might find useful. Created for a Faster deployment of your Authentication Web App. I Basically use it for simple login/Register and stuffs like that.

How to Use

You can take hold of this lib by.

  1. Starting up your terminal and punching

$ git clone https://github.com/Kofacts/Simple_PHP_Auth.git

  1. Having done that, the package would be installed in a folder named "Simple_PHP_Auth"

  2. Create a New instance of the login class which takes two params. Connection name and DB Name with table users_details.

$login = new login($connect,"user_details");

  1. Having done that, You can verify a user by calling.

$login->verifyLogin($_POST['username'],$_POST['password'],$callback_url,$error_message);

  1. To register, you can use

$login->register($username,$password,$email,$telephone,$address); in this order

Actually more features are still been added.

I Saw a Bug..

Wheew. That's Awesome, Do send me a mail obodugorapheal[at]gmail.com

Contribute?

DO Send me a pull request.

How to Thank Me?

Just Star. Actually... Em, that's just it.

PS: This Library is still in Development.

About

A Personal PHP Auth which you might find useful. Created for a Faster deployment of your Authentication Web App.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages