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.
To use the Phone.Email Demo App, you need to obtain a CLIENT_ID
from our admin dashboard. Follow these steps:
- Visit Phone.Email Admin Dashboard.
- Log in or create a new account.
- 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.
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
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';
For detailed documentation on integrating Phone.Email authentication into your PHP project, refer to our official documentation.
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!