PHP JSON Login System: Login system that works with JSON files

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 39%Total: 590 All time: 5,207 This week: 178Up
Version License PHP version Categories
json-login-system 1.0.1Custom (specified...5PHP 5, Files and Folders, User Manage...
Description Author

This class implements a login system that stores user records on JSON files.

It can create user records in JSON files to avoid needing a database server.

The JSON files include the email of the user and a hash of the user password using the password_hash function.

The class can also verify if the user is logged and authenticate the user generating login forms and verifying if the entered email and password are correct.

It generates HTML for both the registration and login form.

Recommendations

What is the best PHP json login example class?
I need to check login credentials from JSON data

PHP/MYSQLi script for secure log in
Secure Login

Picture of naveen
  Performance   Level  
Name: naveen is available for providing paid consulting. Contact naveen .
Classes: 5 packages by
Country: India India
Age: ???
All time rank: 1936119 in India India
Week rank: 214 Up23 in India India Up
Innovation award
Innovation award
Nominee: 2x

Winner: 2x

Details

Json Login System

It is a simple class which uses the json file to store and retrieve the username and passwords, built for small applications which does not use database much often (eg. filemanager)

If someone reads that file will the passwords get exposed?

A big no!.If you want to store password in the json file you must use password_hash as demonstrated in the sample

Contributors

https://github.com/naveen17797

  Files folder image Files  
File Role Description
Plain text file class.jsonHandler.php Class Class source
Plain text file LICENSE Lic. License text
Plain text file README.md Data Auxiliary data
Plain text file samples.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:590
This week:0
All time:5,207
This week:178Up
User Ratings User Comments (2)
 All time
Utility:66%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:39%StarStar
Rank:3035
  
For more information send a message to info at phpclasses dot org.