PHP Classes

PHP SMS Authentication: Authenticate users once using codes sent via SMS

Recommend this page to a friend!

  Author Author  
Picture of Andy Dixon
Name: Andy Dixon <contact>
Classes: 6 packages by
Country: United Kingdom
Age: 39
All time rank: 71436 in United Kingdom
Week rank: 544 Up21 in United Kingdom Up
Innovation award
Innovation award
Nominee: 1x

  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can authenticate users once using codes sent via SMS.

It can take a phone number of a user to authenticate and sends a HTTP request to a local server script that will send a SMS message to that number with a generated password using the TxtLocal API.

The generated password is stored in a MySQL database for subsequent verification.

The class can also verify the password entered by the user to authenticate him as owner of the given phone number by sending another HTTP request to the local server script to check the database to verify if the password is correct.

  Classes of Andy Dixon  >  PHP SMS Authentication  >  Download Download .zip .tar.gz  >  Support forum Support forum (6)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP SMS Authentication
Base name: sms-authentication
Description: Authenticate users once using codes sent via SMS
Version: 1
PHP version: 5
License: BSD License
All time users: 2995 users
All time rank: 1232
Week users: 0 users
Week rank: 156 Equal
  Groups   Screenshots Screenshots   Rate classes User ratings   Applications   Files Files  

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Wireless and Mobile Wireless communications, handheld and pocket computing View top rated classes
Group folder image User Management User records, authentication and session handling View top rated classes

  Files folder image Screenshots  
File Role Description
Accessible without login Image file A43Zk3jCAAA3Ox_.jpg Screen iPhone example


Send One Time Password to Mobile Number
Generate OTP for user login

How can users login with SMS authentication?
Login page code that has SMS authentication

Code for sign up authentication via SMS
user login authentication using sms

  Innovation Award  
PHP Programming Innovation award nominee
August 2013
Number 2

Prize: One copy of the Zend Studio
One way to verify and authenticate a person is to send a SMS message to phone that he owns.

When combined with password based authentication, this forms what is called two factor authentication. It verifies one thing that the person knows, the password, and verifies one thing that he owns, the phone.

This class can help performing two factor authentication by sending a SMS message with a secret code that the user needs to enter in a Web page to prove that he owns the phone with the number that he supplied.

Manuel Lemos

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (93%) Good (87%) - Perfect (100%) - - Sufficient (65%) 783
Month: Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Plain text file class.smsAuthentication.php Class Application class (for your projects)
Accessible without login Plain text file database.sql Data SQL
Accessible without login Plain text file example.php Example Very simple example
Accessible without login Plain text file index.php Appl. Authentication Provider

Install with Composer Install with Composer - Download Download all files: sms-authentication.tar.gz
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
For more information send a message to info at phpclasses dot org.