PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2018-09-25 (11 months ago) RSS 2.0 feedStarStar 39%Total: 420 This week: 5All time: 6,268 This week: 50Up
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
  Performance   Level  
Name: naveen is available for providing paid consulting. Contact naveen .
Classes: 4 packages by
Country: India India
Age: ???
All time rank: 2239144 in India India
Week rank: 43 Up11 in India India Up
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

 

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:420
This week:5
All time:6,268
This week:50Up
User Ratings User Comments (2)
 All time
Utility:66%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:39%StarStar
Rank:3012