Description
This bundle provides two-factor authentication for your Symfony application. It comes with the following two-factor authentication methods: Google Authenticator Email authentication code
scheb/two-factor-bundle alternatives and similar libraries
Based on the "Security" category.
Alternatively, view scheb/two-factor-bundle alternatives based on common mentions on social networks and blogs.
-
random_compat
PHP 5.x support for random_bytes() and random_int() -
HTML Purifier
Standards compliant HTML filter written in PHP -
SensioLabs Security Check
A database of PHP security advisories -
Cossack Labs
Easy to use cryptographic framework for data protection: secure messaging with forward secrecy and secure data storage. Has unified APIs across 14 platforms. -
PHP IDS
PHPIDS (PHP-Intrusion Detection System) is a simple to use, well structured, fast and state-of-the-art security layer for your PHP based web application -
Optimus
๐ค Id obfuscation based on Knuth's multiplicative hashing method for PHP. -
Halite
High-level cryptography interface powered by libsodium -
RandomLib
A library for generating random numbers and strings -
AntiXSS
ใ๏ธ AntiXSS | Protection against Cross-site scripting (XSS) via PHP -
PHP SSH
An experimental object oriented SSH api in PHP -
Elliptic-PHP
Fast, general Elliptic Curve Cryptography library. Supports curves used in Bitcoin, Ethereum and other cryptocurrencies (secp256k1, ed25519, ..) -
CIDRAM
CIDRAM: Classless Inter-Domain Routing Access Manager. -
SecurityMultiTool
A multitool library offering access to recommended security related libraries, standardised implementations of security defences, and secure implementations of commonly performed tasks. -
TCrypto
TCrypto is a simple and flexible PHP 5.3+ in-memory key-value storage library -
True Random
Fetches random integers from random.org instead of using PHP's PRNG implementation -
VAddy
A continuous security testing platform for web applications.
InfluxDB - Power Real-Time Data Analytics at Scale
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of scheb/two-factor-bundle or a related project?
README
scheb/two-factor-bundle
โ Outdated version. Please use versions โฅ 5 from scheb/2fa.
This bundle provides two-factor authentication for your Symfony application.
It comes with the following two-factor authentication methods:
- TOTP authentication
- Google Authenticator
- Authentication code via email
Additional features you will like:
- Interface for custom two-factor authentication methods
- Trusted IPs
- Trusted devices (once passed, no more two-factor authentication on that device)
- Single-use backup codes for when you don't have access to the second factor device
- Multi-factor authentication (more than 2 steps)
- CSRF protection
- Whitelisted routes (accessible during two-factor authentication)
Installation
composer require scheb/two-factor-bundle
... and follow the [installation instructions](Resources/doc/installation.md).
Documentation
Detailed documentation of all features can be found in the [Resources/doc](Resources/doc/index.md) directory.
Version Guidance
If you have Symfony โฅ 4.4 and start using the bundle, please use bundle version 5, which is available as
scheb/2fa-bundle
from the scheb/2fa repository.
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 | Security fixes until Nov 2021 | 3.4, 4.0, 5.0 |
5.x | New features + Bug fixes | 4.4, 5.0 |
Security
For information about the security policy and know security issues, see [SECURITY.md](SECURITY.md).
Contributing
Want to contribute to this project? See [CONTRIBUTING.md](CONTRIBUTING.md).
License
This bundle is available under the [MIT license](LICENSE).
*Note that all licence references and agreements mentioned in the scheb/two-factor-bundle README section above
are relevant to that project's source code only.