Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 955 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 955 Bytes

php-otp-verification

This repository allows, to create a phone number verification using sms/call OTP in PHP.

Python-OTP-Verification

Requirements

Setup

  • Clone the php-otp-verification into your go path and change directory to cloned repository.
$ git clone https://github.com/tiniyo-api/php-otp-verification.git
$ cd php-otp-verification
  • Setting up Virtual Environment
brew install composer
composer install
  • Create your Free TINIYO Account and grab your "API Key": https://www.tiniyo.com

  • Copy .env.example to .env and update it with your Tiniyo credentials.

{Auth_ID} & {Secret_Auth_ID} replace by Tiniyo Credential

  • Run the Local PHP Web-Server in your console.
$ php -S 127.0.0.1:8080

*Navigate to http://localhost:8080 to try it out!