Advanced Login

Add-on inside feature:Advanced Login

Login with Phone

Sign in and sign up with a mobile number and a password. A one-time code proves the number belongs to its owner, sent by Firebase, WhatsApp or Twilio, and the same code covers password recovery and number change.

By ⁨تامر محمد عبد الحميد⁩First published Nov 30, 2026

Android and iOS apps, admin panel and the backend (API) code

About this add-on

Sign in and sign up with a mobile number and a password. A one-time code proves the number belongs to its owner, sent by Firebase, WhatsApp or Twilio, and the same code covers password recovery and number change.

What it does

  • How it works: the user signs in with the number and the password. To create an account the user enters the number, receives a one-time code (OTP) and enters it, which proves the number is theirs. The code comes from the provider you choose in the panel: Firebase (the app sends a Firebase token), WhatsApp or Twilio (the server sends the code and checks it). The OTP is not asked at ordinary sign-in.
  • Recovery and changes: a forgotten password is reset with a code, the password can be changed from inside the account, and the number can be changed from inside the account: the current number must match the account and the code goes to the new number only. A Firebase proof is accepted for one successful operation only, never twice.
  • How the number is stored: always with a + sign in front (+20100...). A number written without it gets it, and every door compares the same form. Anything that is not a number (a dot, a letter, a second + or a wrong length) is refused.
  • What you set in the control panel: in Settings, Third Party, the phone method: the code provider (Firebase, WhatsApp or Twilio), the Twilio keys and the Firebase phone sign-in keys. A check command shows if the chosen provider is complete. The method is a switch you can turn on or off.
  • Files: nothing is uploaded.
  • What the user sees in the app: a phone sign-in with number and password, the sign-up flow with the code step, a forgot password flow, and change number and change password in the account.
  • Works with all themes: the screens take their colours from the active theme.
  • Why it is worth it for you: a mobile number is the most common identity for your users in many countries, and a verified number makes fake accounts harder.
  • Requirements: Advanced Login and the base users, plus an account with the code provider you choose. Phone sign-in is not offered in the Add another account sheet of the account switch.

Add-ons

Depends on

Advanced Login and the base users; Firebase, WhatsApp or Twilio for the code.

In the app

Swipe for more

Install and remove

After you buy, you'll also find these commands in My purchases.

Install

php artisan feature:install login_phone --apply

If the feature isn't installed, this command installs it too.

Remove (your data stays)

Disable the feature in the base with one command (shown on this page). The phone sign-in and its routes close; the other methods carry on. The numbers stay on the accounts.

php artisan feature:remove login_phone