mdespeuilles / drupalpasswordencoderbundle
Drupal 7 and 8 password encoder Bundle
Installs: 30 469
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 1
Type:symfony-bundle
Requires
- php: >=5.3.9
This package is not auto-updated.
Last update: 2023-11-25 23:02:25 UTC
README
This bundle provide just a Drupal password encoder for Symfony 2/3. It will be very usefull if you want migrate an old Drupal 7 or 8 site to Symfony and keep the users password.
Installation
To install DrupalPasswordEncoderBundle with Composer just type in your terminal:
php composer.phar require mdespeuilles/drupalpasswordencoderbundle
Now update your AppKernel.php
file, and
register the new bundle:
<?php // in AppKernel::registerBundles() $bundles = array( // ... new Mdespeuilles\DrupalPasswordEncoderBundle\MdespeuillesDrupalPasswordEncoderBundle(), // ... );
Usage
In your security.yml change the default encoders :
security: encoders: AppBundle\Entity\User: id: mdespeuilles_drupal_password_encoder ...