API Platform¶
The API is based on the API platform library. We are mostly using PHP attributes in our Doctrine classes to configure the API.
Besides creating CRUD operations of the entities, we are creating some custom operations by using attributes to
existing entities or by creating custom entities. The classes of the custom operations are located in the src/API/CustomData directory.
There we define custom entities and operations which are mostly connected to custom controllers and providers.
In some cases, we are using the API Platform's event system to modify the behavior of the API. An example of this is the
UserProcessor class which hooks into the creation & update process of users.