1
0
mirror of synced 2024-11-23 22:06:09 +03:00
api-client-php/doc/customization/examples/custom-api-methods-with-dto/README.md

1.2 KiB

Custom API methods with DTO

This example demonstrates how you can use your custom serializer with custom DTOs to implement API methods.

How to run the project

  1. Open app.php and change credentials and the site to your data.
  2. Run these commands:
composer install
php app.php

You will see something like this:

Created customer using custom methods. ID: 5633

This means that the project works as expected.

Navigation