Skip to content

alaugks/article-symfony-serializer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 attribute_article composer install

Run tests

docker exec attribute_article bin/phpunit

Open bash

docker exec -it attribute_article bash

Frontend

Open frontend: http://localhost:8080/