1. Home
  2. Docs
  3. Laraship
  4. User Module
  5. Two Factor Authentication – 2FA

Two Factor Authentication – 2FA

Laraship does support two-factor authentication, as a site owner you have the ability to turn on or off widely on the application level.

also, the end-user (subscriber) has the ability to activate/deactivate two-factor authentication for his account,  SMS and Voice calls, and Tokens are supported.

2FA using Twilio Authy (SMS & Calls):

Laraship integrates Twilio Authy as the provider for 2FA, in addition, integration other providers are also supported. you need to have to Authy account by registering at create an application and obtain the API key, then add it to the .env  file.



Then under Modules >> Settings enable  and set provider for 2fa


A new Fields will be available for the user profile to configure his 2fa preferences



2FA using Google Authenticator:

Laraship Supports Google Authenticator too, you don’t have to subscribe to SMS service or pay additional fees to enable this feature for your users. you can use the Authenticator Application that can be installed on different devices


  • Under Settings – User Enable Two Factor Authentication and set google as a provider
  • Under Profile – Auth & Password you can enable Two-factor authentication and scan token barcode to your 2FA Application