Skip to content

Toolset for automatically building the mittwald API client for PHP

Notifications You must be signed in to change notification settings

mittwald/api-client-php-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mittwald PHP-SDK utilities

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.

Using the generator toolkit

Automatic client generation

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

Generating the client locally

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"

About

Toolset for automatically building the mittwald API client for PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages