Important
This repository contains tools for automatically generating the PHP-SDK. If you only want to use the mittwald mStudio API in your PHP project, there should be no need for you to interact with this project; please use the mittwald PHP client in this case.
This repository is configured to automatically build and publish the PHP client using the generate
GitHub Action. This action is triggered by a daily schedule, but can also be triggered manually:
$ gh workflow run generate.yml
After cloning this repository, you can generate the client locally by running the following command:
$ composer install
$ composer generate
This will clone the latest master
of mittwald PHP client into the .work
directory and re-generate the generated parts of the client.
After generating, you should switch into the .work
directory, run the code formatting (not part of the generate
command because it takes a long time) and commit the changes:
$ cd .work
$ composer install
$ composer format
$ git add .
$ git commit -m "Update generated client"