Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 912 Bytes

Readme.md

File metadata and controls

35 lines (24 loc) · 912 Bytes

Create a custom Symfony Normalizer for mapping values

A part of article Series: Mapping FieldValueIDs for the payload of the Emarsys API

https://dev.to/elevado/create-a-custom-symfony-normalizer-for-mapping-values-4nc2

  • Example with Serializer default service configuration (Branch)
  • Example with PropertyNormalizer and custom PropertyTypeExtractor (Branch)

Docker image

Start docker image

docker compose -f docker-compose.yml up --build -d

Run composer install

docker exec article_symfony_serializer composer install

Run tests

docker exec article_symfony_serializer bin/phpunit

Open bash

docker exec -it article_symfony_serializer bash

Frontend

Open frontend: http://localhost:8080/