Weave Code
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.
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor