DEV Community

Alex Geno
Alex Geno

Posted on

2FA on Laravel with the support of the most popular SMS providers

https://github.com/alexeygeno/phone-verification-laravel

Key features:

  • Easy switching between different SMS providers
  • Configurable length and expiration time for OTP
  • Configurable rate limits
  • Localization
  • Usage with different Laravel approaches: automatic injection, facade, and commands
  • Logging notifications instead of sending real ones, beneficial for non-production environments
  • Out-of-the-box routes for quick start

Top comments (0)