• Stars
    star
    500
  • Rank 88,178 (Top 2 %)
  • Language
    PHP
  • License
    MIT License
  • Created almost 5 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Two-factor authentication for Symfony applications ๐Ÿ”

scheb/2fa

This bundle provides two-factor authentication for your Symfony application.

Build Status Code Coverage Latest Stable Version Monthly Downloads Total Downloads License

SchebTwoFactorBundle Logo

โ„น๏ธ The repository contains bundle versions โ‰ฅ 5, which are compatible with Symfony 4.4 or later. The older (unsupported) versions are located in the scheb/two-factor-bundle repository.


The bundle is split into sub-packages, so you can choose the exact feature set you need and keep installed dependencies to a minimum.

Core features are provided by scheb/2fa-bundle:

  • Interface for custom two-factor authentication methods
  • Trusted IPs
  • Multi-factor authentication (more than 2 steps)
  • CSRF protection
  • Whitelisted routes (accessible during two-factor authentication)
  • Fully customizable conditions when to perform two-factor authentication
  • Future proof: Supports the authenticator-based security system, which will replace the current system in Symfonyย 6

Additional features:

  • Trusted devices (once passed, no more two-factor authentication on that device) (scheb/2fa-trusted-device)
  • Single-use backup codes for when you don't have access to the second factor device (scheb/2fa-backup-code)
  • QR codes to scan with your mobile device

Two-factor authentication methods:

Installation

Follow the installation instructions.

Documentation

Detailed documentation of all features can be found on the Symfony Bundles Documentation website.

Demo

This repository contains a small test application that can be quickly set-up locally to test two-factor authentication in a real Symfony environment. Check out the readme file in the app folder for more details.

Version Guidance

Version Status Symfony Version
1.x EOL >= 2.1, < 2.7
2.x EOL ^2.6, ^3.0, ^4.0
3.x EOL 3.4, ^4.0, ^5.0
4.x EOL 3.4, ^4.0, ^5.0
5.x Bug & security fixes 4.4, ^5.0
6.x New features + Bug fixes 5.4, ^6.0

License

This software is available under the MIT license.

Security

For information about the security policy and know security issues, see SECURITY.md.

Contributing

Want to contribute to this project? See CONTRIBUTING.md.

Support Me

I'm developing this library since 2014. I love to hear from people using it, giving me the motivation to keep working on my open source projects.

If you want to let me know you're finding it useful, please consider giving it a star โญ on GitHub.

If you love my work and want to say thank you, you can help me out for a beer ๐Ÿป๏ธ via PayPal.

More Repositories

1

two-factor-bundle

[ABANDONED] Two-factor authentication for Symfony 2 & 3 applications ๐Ÿ”. Please use the newer versions from https://github.com/scheb/2fa.
PHP
385
star
2

yahoo-finance-api

PHP client for Yahoo Finance API ๐Ÿ“ˆ
PHP
278
star
3

tombstone

Dead code detection with tombstones for PHP ๐Ÿชฆ๐ŸงŸ
PHP
260
star
4

sound-to-light-osc

Real-time detection of beats from audio, sending out OSC signals for sound-to-light control ๐ŸŽต๐Ÿ’ก
Python
71
star
5

2fa-bundle

[READ ONLY] A generic interface to implement two-factor authentication in Symfony applications
PHP
59
star
6

beer-analytics

Analyzing the composition of beer recipes and visualize results in a human-friendly way ๐Ÿ•ต๏ธ๐Ÿบ
Python
41
star
7

2fa-trusted-device

[READ ONLY] Extends scheb/2fa-bundle with trusted devices support
PHP
31
star
8

2fa-email

[READ ONLY] Extends scheb/2fa-bundle with two-factor authentication via email
PHP
29
star
9

tombstone-analyzer

[READ ONLY] Report generation for Tombstones created with the scheb/tombstone-logger library
PHP
28
star
10

2fa-google-authenticator

[READ ONLY] Extends scheb/2fa-bundle with two-factor authentication using Google Authenticator
PHP
23
star
11

2fa-totp

[READ ONLY] Extends scheb/2fa-bundle with two-factor authentication using TOTP
PHP
21
star
12

2fa-backup-code

[READ ONLY] Extends scheb/2fa-bundle with backup codes support
PHP
18
star
13

open-apexx

[INACTIVE] โ˜ ๏ธ Open source distribution of apexx CMS
PHP
12
star
14

stock-panel

Symfony application to keep track of your stock portfolio ๐Ÿ“ˆ
PHP
11
star
15

2fa-qr-code

[READ ONLY] Extends scheb/2fa-bundle to render QR codes
PHP
9
star
16

in-memory-data-storage

A simple in-memory data storage for PHP
PHP
9
star
17

stock-panel-bundle

[DEPRECATED] Keep track of your stock portfolio
PHP
6
star
18

beer-recipe-analysis

Analyzing the composition of beer brewing recipes with Python and Pandas. It's now a website: www.beer-analytics.com
Jupyter Notebook
3
star
19

phpunit-non-deterministic

How to stub non-deterministic dependencies
PHP
2
star
20

party-projector

Display messages and pictures from party guests on a projector screen
Java
2
star
21

tombstone-logger

[READ ONLY] Tracking of tombstones to find dead code in your codebase
PHP
2
star
22

property-access

Read and write properties from/to PHP objects and arrays
PHP
2
star
23

implementation-iterator

Iterates a PSR-4 compliant directory for implementations of a class/interface
PHP
2
star
24

idea-inspections-checkstyle-converter

[DEPRECATED] Convert IDEA (IntelliJ, PHPStorm) inspection XML format to checkstyle
PHP
2
star
25

two-factor-app

[DEPRECATED] Test application for scheb/two-factor-bundle
PHP
2
star
26

comparator

Answer the question "Are these two equal values?"
PHP
2
star
27

tombstone-core

[READ ONLY] Core classes of the scheb/tombstone library
PHP
2
star
28

qlc-generator

Scripts to generate QLC+ scenes and sequences
PHP
2
star
29

party-projector-app

Android app for scheb/party-projector
Java
1
star
30

mogilefs-stubs

IDE stubs for MogileFS extension
PHP
1
star
31

idea-inspections-core

[DEPRECATED] Core classes to process IDEA inspection files
PHP
1
star