Skip to content

phoneemail/sign-in-with-phone-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

Phone.Email Demo App - PHP Login Button

Welcome to the Phone.Email Demo App for demonstrating login with a phone button in PHP. This demo app showcases how to integrate the Phone.Email authentication system into your PHP project using a CLIENT_ID obtained from our admin dashboard.

Table of Contents

Getting Started

Obtaining CLIENT_ID

To use the Phone.Email Demo App, you need to obtain a CLIENT_ID from our admin dashboard. Follow these steps:

  1. Visit Phone.Email Admin Dashboard.
  2. Log in or create a new account.
  3. After successfully logged in you will get CLIENT ID under profile section in Admin Dashboard.

Keep the CLIENT_ID secure and do not share it publicly.

Installation

Clone the Phone.Email Demo App repository to your local machine:

git clone https://github.com/phoneemail/sign-in-with-phone-php.git

Change into the project directory:

cd sign-in-with-phone-php

Usage

Open the index.php file. Replace the placeholder for CLIENT_ID with the one you obtained from the Phone.Email Admin Dashboard.

// index.php

<?php

$CLIENT_ID = 'your-client-id-here';

Documentation

For detailed documentation on integrating Phone.Email authentication into your PHP project, refer to our official documentation.

Website

Visit our official website: www.phone.email for more information about Phone.Email and its features.

Feel free to reach out if you have any questions or need assistance!