by natsu90

Phone verification at no cost

430 Stars 28 Forks Last release: Not found 23 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Dial2Verify Twilio

Phone verification at no cost!

Well, not really. You still have to pay Twilio for the phone numbers ($1 per month each).


A lot of peoples have pointed out that phone number can be spoofed, so this can't be used as a form of secure authentication. More discussions here: https://news.ycombinator.com/item?id=11652454


I stumbled this page in Twilio API documentation while working on some other idea.


 verb rejects an incoming call to your Twilio number without billing you. This is very useful for blocking unwanted calls.


Noted that Twilio will trigger webhook for any incoming phone call if you set the Status Callback URL. So I thought this can be used for phone verification, with no additional cost.

Missed Call Verification

  1. User send phone number from a web form
  2. We will return a phone number for user to dial
  3. User have to dial the number within 90 seconds, otherwise verification will expired




  • PHP >= 5.5.9
  • SQLite
  • Memcached


  1. Copy
    content to
  2. Set the following details,
    MOBILE_ONLY=false # set to true if you want to accept verification from mobile number only
  3. composer install
  4. php artisan migrate && php artisan twilio:setup
  5. cd public/ && npm install && npm run tsc


Licensed under the MIT license

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.