Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

2Fa Laravel Package

dragonzap/2fa

Laravel 2FA package with email-based codes by default and optional TOTP for Google/Microsoft Authenticator. Protect routes via the twofactor middleware (always or if-enabled). Publish config, run migrations, and override classes to fully customize the flow.

View on GitHub
Deep Wiki
Context7
v2.0.0

Version 2 has been released

Very recently version 1 was released of this package, however we have made significant changes and broken backwards compatability so have released version 2.

What's been changed?

  1. We now support TOTP allowing it to be used with authenticator apps
  2. Design improvements.

Version 2 supports both email authentication and TOTP authenticator app authentication for use with google authenticator, microsoft authenticator ect...

v1.2.0
  1. Fixed a bug where redirect url did not include parameters, it meant any parameters became lost when finishing authentication
  2. Implemented two new route tags allowing you to authenticate only once on any route
v1.1.0
  1. Removed unused dependencies from the composer file
  2. Made the user_id a contributing factor of weather or not we require two factor authentication. This means if a session is not destroyed on logout and a new account is logged in, two factor will be required for any routes as user id wont match the user id that authenticated. This prevents a senario where someone can authenticate on one account and have access to the other.
v1.0.0

Version 1 release, contains ability to create simple two factor authentication, advanced features are not supported this is a simple easy to implement library that can be extended.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log