crayner/authenticate-bundle

Authenticate Bundle for Symfony 4+

Installs: 43

Dependents: 0

Suggesters: 0

Stars: 2

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-bundle

v1.1.4 2019-04-24 04:30 UTC

README

Symfony 4+ Authenticate Bundle Project

Version 1.1.4

Features

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.

Installation

Applications that use Symfony Flex

Open a command console, enter your project directory and execute:

$ composer require crayner/authenticate-bundle

Applications that don't use Symfony Flex

  • 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],
];

Usage

MIT License

Craig Rayner