Time-based Laravel OTP Login

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • fortify

    Backend controllers and scaffolding for Laravel authentication.

  • The main difference between my approach and theirs is that they save the code in the database while I rely on the same logic as Laravel Fortify to generate a Time-based One-time Password (TOTP) algorithm specified in RFC 6238. This is therefore not an option if your application does not use Laravel Fortify. I do not claim to offer the best solution and leaves the judgement to you the reader.

  • 2fa-test

    A demo repo for a post on dev.to

  • Next we need to add phone to the fillable properties in the User Model. For brevity (and throughout the post) I have omitted parts not relevant to the referenced change but you can see the repository here for the class in full.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Laravel-Phone

    Phone number functionality for Laravel

  • We then need to update the fortify actions to save phone during registration and profile update. I have used very basic string validation but you should properly validate phone numbers e.g using Laravel Phone.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Making the case for Laravel as a Next.js alternative

    8 projects | dev.to | 18 Aug 2023
  • Actions vs Jobs

    3 projects | /r/laravel | 3 Feb 2023
  • Is using the repository pattern best practise?

    1 project | /r/laravel | 29 Jan 2023
  • How to call api internally and is that a good idea to call like that?

    1 project | /r/laravel | 11 Dec 2022
  • What auth scaffolding should be used with sanctum tokens

    1 project | /r/laravel | 4 Nov 2022