roadiz / two-factor-bundle
Provides two-factor authentication system for Roadiz CMS
Installs: 48
Dependents: 0
Suggesters: 1
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Type:symfony-bundle
Requires
- php: >=8.1
- doctrine/orm: ~2.19.0
- endroid/qr-code: ^4.0
- roadiz/core-bundle: 2.3.*
- roadiz/rozier: 2.3.*
- roadiz/rozier-bundle: 2.3.*
- scheb/2fa-backup-code: ^6.8
- scheb/2fa-bundle: ^6.8
- scheb/2fa-google-authenticator: ^6.8
- scheb/2fa-totp: ^6.8
- scheb/2fa-trusted-device: ^6.8
- sensio/framework-extra-bundle: ^6.1
- symfony/framework-bundle: 6.4.*
Requires (Dev)
- php-coveralls/php-coveralls: ^2.4
- phpstan/phpstan: ^1.5.3
- phpstan/phpstan-doctrine: ^1.3
- phpunit/phpunit: ^9.5
- roadiz/doc-generator: 2.3.*
- roadiz/entity-generator: 2.3.*
- roadiz/jwt: 2.3.*
- roadiz/random: 2.3.*
- squizlabs/php_codesniffer: ^3.5
- symfony/stopwatch: 6.4.*
- dev-develop / 2.4.x-dev
- dev-main / 2.3.x-dev
- v2.3.31
- v2.3.30
- v2.3.29
- v2.3.28
- v2.3.27
- v2.3.26
- v2.3.25
- v2.3.24
- v2.3.23
- v2.3.22
- v2.3.21
- v2.3.20
- v2.3.19
- v2.3.18
- v2.3.17
- v2.3.16
- v2.3.15
- v2.3.14
- v2.3.13
- v2.3.12
- v2.3.11
- v2.3.10
- v2.3.9
- v2.3.8
- v2.3.7
- v2.3.6
- v2.3.5
- v2.3.4
- v2.3.3
- v2.3.2
- v2.3.1
- v2.3.0
- v2.2.30
- v2.2.29
- v2.2.28
- v2.2.27
- v2.2.26
- v2.2.25
- v2.2.24
- v2.2.23
- v2.2.22
- v2.2.21
- v2.2.20
- v2.2.19
- v2.2.18
- v2.2.17
- v2.2.16
- v2.2.15
- v2.2.14
- v2.2.13
- v2.2.12
- v2.2.11
- v2.2.10
- v2.2.9
- v2.2.8
- v2.2.7
- v2.2.6
- v2.2.5
- v2.2.4
- v2.2.3
- v2.2.2
- v2.2.1
- v2.2.0
This package is auto-updated.
Last update: 2024-11-06 00:33:14 UTC
README
This bundle provides a two-factor authentication system for Roadiz CMS. Based on scheb/two-factor-bundle bundle.
- OTP (One Time Password) authentication with Google Authenticator
- Backup codes (hashed and stored in database)
- Trusted devices (remembered for a configurable amount of time)
- Use
APP_NAMESPACE
,APP_TITLE
andAPP_SECRET
environment variables
Installation
Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.
Applications that use Symfony Flex
Open a command console, enter your project directory and execute:
$ composer require roadiz/two-factor-bundle
Applications that don't use Symfony Flex
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require roadiz/two-factor-bundle
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the config/bundles.php
file of your project:
// config/bundles.php return [ // ... \RZ\Roadiz\TwoFactorBundle\RoadizTwoFactorBundle::class => ['all' => true], ];
Configuration
- Copy and merge
@RoadizTwoFactor/config/packages/scheb_2fa.yaml
files into your projectconfig/packages
folder - Add this bundle routes to your project
config/routes.yaml
file:
# config/routes.yaml roadiz_two_factor: resource: "@RoadizTwoFactorBundle/config/routing.yaml"
Contributing
Report issues and send Pull Requests in the main Roadiz repository