Skip to content

Commit 30a4448

Browse files
Install and enable serializer.
1 parent 948dae4 commit 30a4448

File tree

3 files changed

+108
-2
lines changed

3 files changed

+108
-2
lines changed

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@
7171
"mbostock/d3": "^3.5",
7272
"nelmio/api-doc-bundle": "^4.11",
7373
"novus/nvd3": "^1.8",
74+
"phpdocumentor/reflection-docblock": "^5.3",
75+
"phpstan/phpdoc-parser": "^1.25",
7476
"promphp/prometheus_client_php": "^2.6",
7577
"ramsey/uuid": "^4.2",
7678
"select2/select2": "4.*",
@@ -89,9 +91,12 @@
8991
"symfony/intl": "6.4.*",
9092
"symfony/mime": "6.4.*",
9193
"symfony/monolog-bundle": "^3.8.0",
94+
"symfony/property-access": "6.4.*",
95+
"symfony/property-info": "6.4.*",
9296
"symfony/runtime": "6.4.*",
9397
"symfony/security-bundle": "6.4.*",
9498
"symfony/security-csrf": "6.4.*",
99+
"symfony/serializer": "6.4.*",
95100
"symfony/stopwatch": "6.4.*",
96101
"symfony/twig-bundle": "6.4.*",
97102
"symfony/validator": "6.4.*",

composer.lock

Lines changed: 100 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webapp/config/packages/framework.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ framework:
66
http_method_override: true
77
annotations: true
88
handle_all_throwables: true
9+
serializer:
10+
enabled: true
11+
name_converter: serializer.name_converter.camel_case_to_snake_case
912

1013
# Enables session support. Note that the session will ONLY be started if you read or write from it.
1114
# Remove or comment this section to explicitly disable session support.

0 commit comments

Comments
 (0)