Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

alaugks/article-symfony-serializer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 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 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/

Morty Proxy This is a proxified and sanitized view of the page, visit original site.