This documentation will explain step-by-step the way of generating a PHP client, based on the Kolibri Swagger API.

Step 1.

  • Go to: https://editor.swagger.io/
  • Click ‘File’ and ‘Import URL’
  • Enter the following Swagger JSON URL: ‘https://sandbox-api.kolibri24.com/v3/swagger’
  • Step 2.

    When the JSON file has been loaded in the online editor.

  • Click on ‘Generate Client’ in the top menu.
  • Select ‘PHP’ in the drop-down menu.
  • Step 3.

    The online editor is now generating the PHP client (this can take some time).
    When the PHP client has been created, it will be automatically downloaded to your compouter as a compressed ZIP file.