Skip to content

Commit d19e832

Browse files
authored
Update readme to target sf 4 (#49)
1 parent 3b2ed5c commit d19e832

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

README.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,39 +27,38 @@ This command requires you to have Composer installed globally, as explained
2727
in the [installation chapter](https://getcomposer.org/doc/00-intro.md)
2828
of the Composer documentation.
2929

30-
Step 2: Enable the Bundle (Symfony 2 & 3)
31-
-----------------------------------------
30+
Step 2 (with Flex): Enable the Bundle
31+
-------------------------------------
3232

33-
Then, enable the bundle by adding it to the list of registered bundles
34-
in the `app/AppKernel.php` file of your project:
33+
You do not need to do anything more. The bundle is enabled automatically and
34+
you have some nice default config in `config/packages/bm_backup_manager.yml`.
35+
36+
Step 2 (no Flex): Enable the Bundle
37+
-----------------------------------
38+
39+
If you are not using Symfony Flex, you need to enable the bundle by adding it to
40+
the list of registered bundles in the `app/AppKernel.php` file of your project.
3541

3642
```php
37-
<?php
3843
// app/AppKernel.php
3944

40-
// ...
4145
class AppKernel extends Kernel
4246
{
4347
public function registerBundles()
4448
{
4549
$bundles = array(
4650
// ...
47-
4851
new BM\BackupManagerBundle\BMBackupManagerBundle(),
4952
);
50-
51-
// ...
5253
}
53-
54-
// ...
5554
}
5655
```
5756

5857
Step 3: Configure your databases and filesystems
5958
------------------------------------------------
6059

6160
```yaml
62-
# app/config.yml
61+
# config/packages/bm_backup_manager.yml
6362

6463
bm_backup_manager:
6564
database:

0 commit comments

Comments
 (0)