Francisco Giraldo

API Platform

Published 1 min read


composer require api


API Platform's philosophy is this: create some resources, tweak any configuration you need - we haven't done that, but will soon - and let API Platform expose those resources as an API. It does that, but to be an extra good friend, it also creates an OpenAPI specification. Check it out: go to /api/docs.json.


API Documentation Interface.

OpenAPI specification

Is a format for describing APIs. Gives all information about an Entity to the API.


Gives context to the data.

Adds extra fields to the json endpoint that describes the data.

@id @type

RDF (Resource Description Format)

Set of rules to describe the meaning of data.


Internationalized Resources Identifier

Keep reading other of my blog posts!