PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 39%Total: 671 All time: 4,819 This week: 36Up
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.

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: 1808110 in India India
Week rank: 20 Up2 in India India Up
Innovation award
Innovation award
Nominee: 2x

Winner: 2x

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

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 (4)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:671
This week:0
All time:4,819
This week:36Up
User Ratings User Comments (2)
 All time
Utility:66%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:39%StarStar
Rank:3879