Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

Commit ff3907f

Browse files
authored
Update README.md
1 parent 646bae5 commit ff3907f

1 file changed

Lines changed: 20 additions & 3 deletions

File tree

README.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
# DrupalPasswordEncoderBundle
22

3+
This bundle provide just a Drupal password encoder for Symfony 2/3.
4+
It will be very usefull if you want migrate an old Drupal 7 or 8 site to Symfony
5+
and keep the users password.
6+
37
## Installation
48

5-
To install MarkupFieldBundle with Composer just type in your terminal:
9+
To install DrupalPasswordEncoderBundle with Composer just type in your terminal:
610

711
```bash
8-
php composer.phar require mdespeuilles/markupfieldbundle
12+
php composer.phar require mdespeuilles/drupalpasswordencoderbundle
913
```
1014

1115
Now update your ``AppKernel.php`` file, and
@@ -17,9 +21,22 @@ register the new bundle:
1721
// in AppKernel::registerBundles()
1822
$bundles = array(
1923
// ...
20-
new Mdespeuilles\MarkupFieldBundle\MdespeuillesMarkupFieldBundle(),
24+
new Mdespeuilles\DrupalPasswordEncoderBundle\MdespeuillesDrupalPasswordEncoderBundle(),
2125
// ...
2226
);
2327
```
2428

2529
## Usage
30+
31+
In your security.yml change the default encoders :
32+
33+
```yml
34+
35+
security:
36+
encoders:
37+
AppBundle\Entity\User:
38+
id: mdespeuilles_drupal_password_encoder
39+
40+
...
41+
42+
```

0 commit comments

Comments
 (0)