Skip to content

Commit 5e428c5

Browse files
author
Daniel Bojdo
committed
[upd] dependecies / readme
1 parent 9bd9fb1 commit 5e428c5

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ what breaks our model.
128128
Slider configuration is just object we need to store, but we don't need to query for it. So it's much simpler to store it in a JSON format
129129
in one column of "banner_set" table.
130130

131-
Our ***BannerSet** Doctrine mapping file would look like:
131+
***BannerSet*** Doctrine mapping file would look like:
132132

133133
```yaml
134134
entity:
@@ -144,7 +144,11 @@ entity:
144144
And that's it!
145145
146146
Obviously, we need to provide the ***Serializer*** mapping for ***Slider1*** and ***Slider2***
147-
(what can be done in different ways, eg. via Annotations - check the JMSSerializer documentation for more details).
147+
(what can be done in different ways, eg. via Annotations - check the [JMSSerializer documentation](http://jmsyst.com/libs/serializer) for more details).
148+
149+
# Symfony 2/3 integration
150+
151+
See [WebitDoctrineJsonBundle](https://github.com/dbojdo/Doctrine-JSON-Bundle) Symfony 2/3 integration.
148152
149153
# Tests
150154

composer.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,12 @@
99
],
1010
"require": {
1111
"php": ">=5.3.2",
12-
"jms/serializer": "~1.0"
12+
"jms/serializer": "~1.0",
13+
"doctrine/dbal": "~2.2"
1314
},
1415
"require-dev": {
1516
"phpunit/phpunit": "~4.8",
16-
"mockery/mockery": "*",
17-
"doctrine/dbal": "~2.2"
18-
},
19-
"suggest": {
20-
"doctrine/dbal": "To support JMS Json type with DBAL"
17+
"mockery/mockery": "*"
2118
},
2219
"autoload": {
2320
"psr-4": {

0 commit comments

Comments
 (0)