Skip to content

Commit 4a38e99

Browse files
committed
feature: update documentation
1 parent 79df786 commit 4a38e99

2 files changed

Lines changed: 6 additions & 19 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Flagception
22
**Feature toggle bundle on steroids!** Flagception is a simple and powerful feature toggle system for php.
3-
This bundle integrates the [Flagception PHP Library](https://packagist.org/packages/flagception/flagception) for symfony 2.7 to 6.* (and php 5.6 to php 8.*).
3+
This bundle integrates the [Flagception PHP Library](https://packagist.org/packages/flagception/flagception) for symfony 2.7 to 7.* (and php 5.6 to php 8.*).
44

55
[![Latest Stable Version](https://poser.pugx.org/flagception/flagception-bundle/v/stable)](https://packagist.org/packages/flagception/flagception-bundle)
66
![Coverage Status](https://raw.githubusercontent.com/playox/flagception-bundle/image-data/coverage.svg)
@@ -12,7 +12,8 @@ This bundle integrates the [Flagception PHP Library](https://packagist.org/packa
1212
|----------------------|-----------------|
1313
| <=3 | 2.7 - 4.4 |
1414
| >=4 | 4.4 - 7.4 |
15-
| >=5 | 4.4 - current |
15+
| >=5 | 4.4 - 7.4 |
16+
| >=6 | 4.4 - current |
1617

1718
```console
1819
$ composer require flagception/flagception-bundle
@@ -24,6 +25,7 @@ Documentation
2425
* [Upgrade from 2.x](UPGRADE-3.0.md)
2526
* [Upgrade from 3.x](UPGRADE-4.0.md)
2627
* [Upgrade from 4.x](UPGRADE-5.0.md)
28+
* [Upgrade from 5.x](UPGRADE-6.0.md)
2729
* [Usage](docs/usage.md)
2830
* [Twig flags](docs/twig.md)
2931
* [Route flags](docs/route.md)

docs/database.md

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ flagception:
4040
enable: true
4141

4242
# Connection string
43-
url: 'mysql://user:secret@localhost/mydb'
43+
url: 'pdo-mysql://user:secret@localhost/mydb'
4444
```
4545
4646
You can fill a connection string (url), a PDO instance, a DBAL instance or old-fashioned the individual
@@ -58,22 +58,7 @@ flagception:
5858
enable: true
5959

6060
# Connection string
61-
url: 'mysql://user:secret@localhost/mydb'
62-
```
63-
64-
###### PDO instance:
65-
```yml
66-
# config.yml
67-
68-
flagception:
69-
activators:
70-
database:
71-
72-
# Enable database activator (default: false)
73-
enable: true
74-
75-
# By pdo instance
76-
pdo: 'pdo.service.id'
61+
url: 'pdo-mysql://user:secret@localhost/mydb'
7762
```
7863
7964
###### DBAL instance:

0 commit comments

Comments
 (0)