Version 1.1.4
I began this as a simple set of stuff that I was using in projects without the weight of FOSUserBUndle. It now provides a series of Encoders that allow NON Sodium use of Argon2* in Symfony 4.3+. In Version 4.3 Symfony has taken the route of not using the PHP Native encoders. I personally don't have an opinion, not understanding why this decision was taken, but the HighestPasswordEncoder within this package supplies the options to enable PHP Native encoders for Argon2* if Sodium is not available. Sodium should be available, as package requires paragonie/sodium_compat as a fall back for libsodium In any case, removal of paragonie/sodium_compat and libsodium will still allow Argon2* integration for PHP 7.2+. The Argon2*PasswordEncoders supplied in this package only supply PHP Native Argon integration, and can be used in your project as any normal encoder.
Open a command console, enter your project directory and execute:
$ composer require crayner/authenticate-bundle
- Step 1: Download the Bundle
Enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require crayner/authenticate-bundle
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
- 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:
<?php
return [
//...
//
Crayner\Authenticate\CraynerAuthenticateBundle::class => ['all' => true],
];
-
Highest Available Encoder Class directly in the Security settings of your App.
Craig Rayner