API and serialization

← API and serialization

Ashterix

docs(articles): SEO titles, intros and a section preview image for From Magento to Symfony

en/articles/magento-to-symfony/data/api.md +4 −0

1 + ---
2 + title: 'APIs in Symfony: Serializer and API Platform instead of webapi.xml'
3 + ---
4 +
1 5 # API and serialization
2 6
3 7 Magento generates REST and SOAP from service interfaces. In Symfony there are two paths: regular controllers with the Serializer for an API you control, or API Platform when you need CRUD, filters, pagination and OpenAPI quickly from an attribute on the entity.